Class: NilClass

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

Instance Method Summary collapse

Instance Method Details

#is_complex_yaml?Boolean

Returns:

  • (Boolean)


384
# File 'lib/rbyaml/rubytypes.rb', line 384

def is_complex_yaml?; false; end

#to_yaml_node(repre) ⇒ Object



385
386
387
388
389
# File 'lib/rbyaml/rubytypes.rb', line 385

def to_yaml_node( repre )
  RbYAML::quick_emit_node( nil, repre ) do |out|
    out.scalar(taguri, "", nil )
  end
end