Class: YAML::Mapping

Inherits:
Array show all
Defined in:
lib/yaml/baseemitter.rb

Overview

Emitter helper classes

Instance Method Summary collapse

Methods inherited from Array

#to_yaml, #yaml_initialize

Instance Method Details

#add(k, v) ⇒ Object



236
237
238
# File 'lib/yaml/baseemitter.rb', line 236

def add( k, v )
    push [k, v]
end