Class: TrueClass
Instance Method Summary collapse
Instance Method Details
#to_yaml(opts = {}) ⇒ Object
385 386 387 388 389 |
# File 'lib/yaml/rubytypes.rb', line 385 def to_yaml( opts = {} ) YAML::quick_emit( nil, opts ) do |out| out.scalar( taguri, "true", :plain ) end end |