class Lhm::Timestamp
Public Class Methods
new(time)
click to toggle source
# File lib/lhm/timestamp.rb, line 3 def initialize(time) @time = time end
Public Instance Methods
to_s()
click to toggle source
# File lib/lhm/timestamp.rb, line 7 def to_s @time.strftime "%Y_%m_%d_%H_%M_%S_#{ '%03d' % (@time.usec / 1000) }" end