Class: Nickel::TimeConstruct
- Defined in:
- lib/nickel/construct.rb
Instance Attribute Summary collapse
-
#time ⇒ Object
Returns the value of attribute time.
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
#time ⇒ Object
Returns the value of attribute time.
24 25 26 |
# File 'lib/nickel/construct.rb', line 24 def time @time end |
Instance Method Details
#interpret ⇒ Object
25 26 27 |
# File 'lib/nickel/construct.rb', line 25 def interpret { time: time } end |