class Arbre::Form::Config::Component

Attributes

formatter[RW]
tag[RW]
type[RW]

Public Class Methods

new(tag:, type: nil, formatter: proc { |val| val }) click to toggle source
# File lib/arbre/form/config.rb, line 13
def initialize(tag:, type: nil, formatter: proc { |val| val })
  @tag = tag
  @type = type
  @formatter = formatter
end