Class: DateTime

Inherits:
Object
  • Object
show all
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 (options = {})
	options[:alpha] ? '#inst "' + rfc3339 + '"' : to_time.to_i.to_s
end