class Haml::Parser::ParseNode

@private

Public Class Methods

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

Public Instance Methods

inspect() click to toggle source
# File lib/haml/parser.rb, line 121
def inspect
  text = "(#{type} #{value.inspect}"
  children.each {|c| text << "\n" << c.inspect.gsub(%r^/, "  ")}
  text + ")"
end