method

to_yaml

Importance_0
v3.0.0 - Show latest stable - 0 notes - Class: ActiveSupport::TimeWithZone
to_yaml(options = {}) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activesupport/lib/active_support/time_with_zone.rb, line 138
    def to_yaml(options = {})
      if options.kind_of?(YAML::Emitter)
        utc.to_yaml(options)
      else
        time.to_yaml(options).gsub('Z', formatted_offset(true, 'Z'))
      end
    end
Register or log in to add new notes.