Class: Lolita::Configuration::Field::DateTime
- Defined in:
- lib/lolita/configuration/field/date_time.rb
Instance Attribute Summary collapse
-
#format ⇒ Object
Returns the value of attribute format.
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(dbi, name, *args, &block) ⇒ DateTime
constructor
A new instance of DateTime.
Methods inherited from Base
#find_dbi_field, #match_state_of?, #name=, #nested?, #nested_in?, #record_state_matches_with, #set_attributes, #title, #type, #type=
Methods included from Builder
#build, #builder, #builder=, #builder_default_name, #builder_default_options, #builder_default_state
Constructor Details
#initialize(dbi, name, *args, &block) ⇒ DateTime
Returns a new instance of DateTime.
6 7 8 9 10 |
# File 'lib/lolita/configuration/field/date_time.rb', line 6 def initialize dbi,name,*args, &block super override_order end |
Instance Attribute Details
#format ⇒ Object
Returns the value of attribute format.
5 6 7 |
# File 'lib/lolita/configuration/field/date_time.rb', line 5 def format @format end |