Class: DateTime
- Inherits:
-
Object
- Object
- DateTime
- Defined in:
- lib/toml/monkey_patch.rb
Instance Method Summary collapse
Instance Method Details
#to_toml ⇒ Object
23 24 25 |
# File 'lib/toml/monkey_patch.rb', line 23 def to_toml self.to_time.utc.strftime("%Y-%m-%dT%H:%M:%SZ") end |