Method: ActiveSupport::TimeZone#encode_with
- Defined in:
- activesupport/lib/active_support/values/time_zone.rb
#encode_with(coder) ⇒ Object
:nodoc:
579 580 581 582 |
# File 'activesupport/lib/active_support/values/time_zone.rb', line 579 def encode_with(coder) # :nodoc: coder.tag = "!ruby/object:#{self.class}" coder.map = { "name" => tzinfo.name } end |