Method: Psych::Coder#initialize
- Defined in:
- lib/psych/coder.rb
#initialize(tag) ⇒ Coder
Returns a new instance of Coder.
13 14 15 16 17 18 19 20 21 22 |
# File 'lib/psych/coder.rb', line 13 def initialize tag @map = {} @seq = [] @implicit = false @type = :map @tag = tag @style = Psych::Nodes::Mapping::BLOCK @scalar = nil @object = nil end |