Class: Lolita::Configuration::Field::Boolean
- Defined in:
- lib/lolita/configuration/field/boolean.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(*args) ⇒ Boolean
constructor
A new instance of Boolean.
Methods inherited from Base
#name=, #nested?, #nested_in?, #record_value, #set_attributes, #type, #type=, #type_name, #value, #value=
Methods included from Builder
#build, #builder_options, #default_builder, #get_builder
Constructor Details
#initialize(*args) ⇒ Boolean
Returns a new instance of Boolean.
5 6 7 8 |
# File 'lib/lolita/configuration/field/boolean.rb', line 5 def initialize *args @type="boolean" super end |