Class: FalseClass

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

Instance Method Summary collapse

Instance Method Details

#is_complex_yaml?Boolean

Returns:

  • (Boolean)


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

def is_complex_yaml?; false; end

#to_yaml_node(repre) ⇒ Object



375
376
377
378
379
# File 'lib/rbyaml/rubytypes.rb', line 375

def to_yaml_node( repre )
  RbYAML::quick_emit_node( nil, repre ) do |out|
    out.scalar('tag:yaml.org,2002:bool', "false",nil )
  end
end