method
encode_with
v5.0.0.1 -
Show latest stable
- Class:
ActiveSupport::TimeWithZone
encode_with(coder)public
No documentation available.
# File activesupport/lib/active_support/time_with_zone.rb, line 177
def encode_with(coder) #:nodoc:
coder.tag = '!ruby/object:ActiveSupport::TimeWithZone'
coder.map = { 'utc' => utc, 'zone' => time_zone, 'time' => time }
end