Method: ActiveSupport::TimeZone#encode_with
- Defined in:
- activesupport/lib/active_support/values/time_zone.rb
permalink #encode_with(coder) ⇒ Object
:nodoc:
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 |