Class: Time
- Inherits:
-
Object
- Object
- Time
- Defined in:
- lib/nestene.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.from_structure(str) ⇒ Object
81 82 83 |
# File 'lib/nestene.rb', line 81 def self.from_structure str str ? iso8601(str) : nil end |
Instance Method Details
#to_structure ⇒ Object
85 86 87 |
# File 'lib/nestene.rb', line 85 def to_structure iso8601(3) end |