method
to_yaml

to_yaml(options = {})
public
Hide source
# File activesupport/lib/active_support/time_with_zone.rb, line 131 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