Parent

Class/Module Index [+]

Quicksearch

Ruote::RubyDsl::BranchContext

Public Class Methods

new(name, attributes) click to toggle source
# File lib/ruote/parser/ruby_dsl.rb, line 99
def initialize (name, attributes)

  @name = name
  @attributes = attributes
  @children = []
end

Public Instance Methods

method_missing(m, *args, &block) click to toggle source
# File lib/ruote/parser/ruby_dsl.rb, line 106
def method_missing (m, *args, &block)

  @children.push(
    Ruote::RubyDsl.create_branch(m.to_s, args, &block))
end
to_a() click to toggle source
# File lib/ruote/parser/ruby_dsl.rb, line 112
def to_a

  [ @name, @attributes, @children ]
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.