Class: Ruleby::Ferrari::FunctionBuilder
- Inherits:
-
Object
- Object
- Ruleby::Ferrari::FunctionBuilder
- Defined in:
- lib/dsl/ferrari.rb
Instance Method Summary collapse
- #build_atom(tag, template) ⇒ Object
-
#initialize(args, block) ⇒ FunctionBuilder
constructor
A new instance of FunctionBuilder.
Constructor Details
#initialize(args, block) ⇒ FunctionBuilder
Returns a new instance of FunctionBuilder.
324 325 326 327 |
# File 'lib/dsl/ferrari.rb', line 324 def initialize(args, block) @args = args @function = block end |
Instance Method Details
#build_atom(tag, template) ⇒ Object
329 330 331 |
# File 'lib/dsl/ferrari.rb', line 329 def build_atom(tag, template) Core::FunctionAtom.new(tag, template, @args, @function) end |