353 354 355 356 357
# File 'lib/syck/rubytypes.rb', line 353 def to_yaml( opts = {} ) Syck::quick_emit( self, opts ) do |out| out.scalar( "tag:yaml.org,2002:timestamp", self.to_s, :plain ) end end