class Hermeneutics::Timestamp
Public Class Methods
new(time = nil)
click to toggle source
# File lib/hermeneutics/types.rb, line 42 def new time = nil case time when nil then now when Time then mktime *time.to_a else parse time.to_s end end
Public Instance Methods
encode()
click to toggle source
# File lib/hermeneutics/types.rb, line 53 def encode rfc822 end
quote()
click to toggle source
# File lib/hermeneutics/types.rb, line 50 def quote to_s end