Class: TrueClass
Instance Method Summary collapse
Instance Method Details
#is_complex_yaml? ⇒ Boolean
364 |
# File 'lib/rbyaml/rubytypes.rb', line 364 def is_complex_yaml?; false; end |
#to_yaml_node(repre) ⇒ Object
365 366 367 368 369 |
# File 'lib/rbyaml/rubytypes.rb', line 365 def to_yaml_node( repre ) RbYAML::quick_emit_node( nil, repre ) do |out| out.scalar('tag:yaml.org,2002:bool', "true", nil) end end |