Parent

Included Modules

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
to_temple() click to toggle source
# File lib/haml/temple.rb, line 77
def to_temple
  begin
    send "on_#{type}"
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.