Parent

Methods

Haml::Parser::ParseNode

@private

Public Class Methods

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

Public Instance Methods

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

[Validate]

Generated with the Darkfish Rdoc Generator 2.