Class: Nickel::DateConstruct
- Defined in:
- lib/nickel/construct.rb
Instance Attribute Summary collapse
-
#date ⇒ Object
Returns the value of attribute date.
Attributes inherited from Construct
#comp_end, #comp_start, #found_in
Instance Method Summary collapse
Methods inherited from Construct
Constructor Details
This class inherits a constructor from Nickel::Construct
Instance Attribute Details
#date ⇒ Object
Returns the value of attribute date.
13 14 15 |
# File 'lib/nickel/construct.rb', line 13 def date @date end |
Instance Method Details
#interpret ⇒ Object
14 15 16 |
# File 'lib/nickel/construct.rb', line 14 def interpret { date: date } end |