Class: TrueClass

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

Instance Method Summary collapse

Instance Method Details

#to_yaml(opts = {}) ⇒ Object



440
441
442
443
444
445
# File 'lib/syck/rubytypes.rb', line 440

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