Class: Time
- Inherits:
-
Object
- Object
- Time
- Defined in:
- lib/time.rb
Instance Method Summary collapse
Instance Method Details
#to_w3c_datetime ⇒ Object
2 3 4 |
# File 'lib/time.rb', line 2 def to_w3c_datetime strftime '%Y-%m-%dT%H:%M:%S%:z' end |