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