Method: H2o::Nodelist#initialize

Defined in:
lib/h2o/nodes.rb

#initialize(parser, position = 0) ⇒ Nodelist

Returns a new instance of Nodelist.



17
18
19
20
# File 'lib/h2o/nodes.rb', line 17

def initialize(parser, position = 0)
 @parser = parser
 @stack = []  
end