Method: ActiveSupport::TimeZone#encode_with

Defined in:
activesupport/lib/active_support/values/time_zone.rb

#encode_with(coder) ⇒ Object

:nodoc:

[View source]

566
567
568
569
# File 'activesupport/lib/active_support/values/time_zone.rb', line 566

def encode_with(coder) # :nodoc:
  coder.tag = "!ruby/object:#{self.class}"
  coder.map = { "name" => tzinfo.name }
end