Method: Psych::Coder#represent_object
- Defined in:
- lib/psych/coder.rb
#represent_object(tag, obj) ⇒ Object
Emit an arbitrary object obj
and tag
59 60 61 62 63 |
# File 'lib/psych/coder.rb', line 59 def represent_object tag, obj @tag = tag @type = :object @object = obj end |