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.
10 11 12 |
# File 'lib/nickel/construct.rb', line 10 def date @date end |
Instance Method Details
#interpret ⇒ Object
11 12 13 |
# File 'lib/nickel/construct.rb', line 11 def interpret { date: date } end |