module Stamped::ClassMethods
Class methods for time
Public Instance Methods
from_stamp(timestamp)
click to toggle source
# File lib/stamped.rb, line 16 def from_stamp(timestamp) Time.iso8601(timestamp) end
stamp(time = now)
click to toggle source
# File lib/stamped.rb, line 20 def stamp(time = now) time.stamp end
stamp_time()
click to toggle source
# File lib/stamped.rb, line 24 def stamp_time from_stamp(stamp) end