Class: Lolita::Configuration::Field::Time
- Defined in:
- lib/lolita/configuration/field/time.rb
Instance Attribute Summary collapse
-
#format ⇒ Object
Returns the value of attribute format.
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(*args) ⇒ Time
constructor
A new instance of Time.
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) ⇒ Time
Returns a new instance of Time.
6 7 8 9 |
# File 'lib/lolita/configuration/field/time.rb', line 6 def initialize *args @type="time" super end |
Instance Attribute Details
#format ⇒ Object
Returns the value of attribute format.
5 6 7 |
# File 'lib/lolita/configuration/field/time.rb', line 5 def format @format end |