Class: DateTime
- Inherits:
-
Object
- Object
- DateTime
- Defined in:
- lib/clj/types.rb
Instance Method Summary collapse
Instance Method Details
#to_clj(options = {}) ⇒ Object
167 168 169 |
# File 'lib/clj/types.rb', line 167 def to_clj ( = {}) [:alpha] ? '#inst "' + rfc3339 + '"' : to_time.to_i.to_s end |