In Files

  • yaml/rubytypes.rb

Parent

Methods

Date

Public Instance Methods

to_yaml( opts = {} ) click to toggle source
 
               # File yaml/rubytypes.rb, line 348
def to_yaml( opts = {} )
        YAML::quick_emit( self, opts ) do |out|
    out.scalar( "tag:yaml.org,2002:timestamp", self.to_s, :plain )
end
end