Class: Time

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

Instance Method Summary collapse

Instance Method Details

#to_http_timestampObject



2
3
4
# File 'lib/waves/ext/time.rb', line 2

def to_http_timestamp
  clone.gmtime.strftime("%a, %d-%b-%Y %H:%M:%S GMT")
end