class Haml::Parser::ParseNode

@private

Public Class Methods

new(*args) click to toggle source
Calls superclass method
# File lib/haml/parser.rb, line 198
def initialize(*args)
  super
  self.children ||= []
end

Public Instance Methods

inspect() click to toggle source
# File lib/haml/parser.rb, line 203
def inspect
  %Q[(#{type} #{value.inspect}#{children.each_with_object('') {|c, s| s << "\n#{c.inspect.gsub!(/^/, '  ')}"}})]
end