Method: RIO::IF::YAML#putobj!

Defined in:
lib/rio/if/yaml.rb

#putobj!(obj) ⇒ Object

Dumps an object to a Rio as with IF::YAML#putobj, and closes the Rio.

rio('afile.yaml').yaml.putobj!(anobject)

is identical to

rio('afile.yaml').yaml.putobj(anobject).close


199
# File 'lib/rio/if/yaml.rb', line 199

def putobj!(obj) target.putobj!(obj); self end