method
to_yaml
v1_8_7_72 -
Show latest stable
- Class:
Date
to_yaml( opts = {} )public
No documentation available.
# File lib/yaml/rubytypes.rb, line 349
def to_yaml( opts = {} )
YAML::quick_emit( self, opts ) do |out|
out.scalar( "tag:yaml.org,2002:timestamp", self.to_s, :plain )
end
end