= private = protected
httpdate()
Returns a string of the object’s date and time in the format used by HTTP requests.
Time.zone.now.httpdate # => "Tue, 01 Jan 2013 04:39:43 GMT"
# File activesupport/lib/active_support/time_with_zone.rb, line 175 def httpdate utc.httpdate end
>> time = p.updated_at
>> time.class
>> time.httpdate
.