Class: Babl::Builder::BoundOperator
- Inherits:
-
Object
- Object
- Babl::Builder::BoundOperator
- Defined in:
- lib/babl/builder/chain_builder.rb
Instance Attribute Summary collapse
-
#context ⇒ Object
readonly
Returns the value of attribute context.
-
#scope ⇒ Object
readonly
Returns the value of attribute scope.
Instance Method Summary collapse
-
#initialize(context, &scope) ⇒ BoundOperator
constructor
A new instance of BoundOperator.
Constructor Details
#initialize(context, &scope) ⇒ BoundOperator
Returns a new instance of BoundOperator.
75 76 77 78 |
# File 'lib/babl/builder/chain_builder.rb', line 75 def initialize(context, &scope) @context = context @scope = scope end |
Instance Attribute Details
#context ⇒ Object (readonly)
Returns the value of attribute context.
73 74 75 |
# File 'lib/babl/builder/chain_builder.rb', line 73 def context @context end |
#scope ⇒ Object (readonly)
Returns the value of attribute scope.
73 74 75 |
# File 'lib/babl/builder/chain_builder.rb', line 73 def scope @scope end |