Class: CoderCompanion::Common::Method
- Inherits:
-
Treetop::Runtime::SyntaxNode
- Object
- Treetop::Runtime::SyntaxNode
- CoderCompanion::Common::Method
- Defined in:
- lib/codercompanion/common/common.rb
Instance Method Summary collapse
Instance Method Details
#build ⇒ Object
25 26 27 28 29 30 31 32 |
# File 'lib/codercompanion/common/common.rb', line 25 def build els = [] elements.each do |e| built = e.build if e.respond_to? :build els.push built if built end return {:type => :method, :value => els} end |