Class: Syck::Mapping

Inherits:
Array show all
Defined in:
lib/syck/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


232
233
234
# File 'lib/syck/baseemitter.rb', line 232

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