Class: JvYAML::Emitter
- Inherits:
-
Object
- Object
- JvYAML::Emitter
- Defined in:
- lib/jvyaml.rb
Instance Method Summary collapse
- #emit(oid, &proc) ⇒ Object
- #has_key?(key) ⇒ Boolean
-
#initialize ⇒ Emitter
constructor
A new instance of Emitter.
- #reset(opts) ⇒ Object
Constructor Details
Instance Method Details
#emit(oid, &proc) ⇒ Object
73 74 75 |
# File 'lib/jvyaml.rb', line 73 def emit(oid, &proc) proc.call(@out) end |
#has_key?(key) ⇒ Boolean
77 78 |
# File 'lib/jvyaml.rb', line 77 def has_key?(key) end |
#reset(opts) ⇒ Object
68 69 70 71 |
# File 'lib/jvyaml.rb', line 68 def reset(opts) @opts = opts self end |