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