Class: Time

Inherits:
Object show all
Defined in:
lib/webget_ramp/time.rb

Class Method Summary collapse

Class Method Details

.stampObject

Return current time in UTC as a timestamp string “YYYYMMDDHHMMSS”



5
6
7
# File 'lib/webget_ramp/time.rb', line 5

def self.stamp
  now.utc.strftime('%Y%m%d%H%M%S')
end