Class: NilClass

Inherits:
Object show all
Defined in:
lib/syck/rubytypes.rb

Instance Method Summary collapse

Instance Method Details

#to_yaml(opts = {}) ⇒ Object



460
461
462
463
464
465
# File 'lib/syck/rubytypes.rb', line 460

def to_yaml( opts = {} )
       return super unless YAML::ENGINE.syck?
	YAML::quick_emit( nil, opts ) do |out|
           out.scalar( taguri, "", :plain )
       end
end