Class: Alki::Execution::Reference
- Inherits:
-
Object
- Object
- Alki::Execution::Reference
- Defined in:
- lib/alki/execution/reference.rb
Instance Attribute Summary collapse
-
#args ⇒ Object
Returns the value of attribute args.
-
#blk ⇒ Object
Returns the value of attribute blk.
-
#executor ⇒ Object
Returns the value of attribute executor.
-
#meta ⇒ Object
Returns the value of attribute meta.
-
#path ⇒ Object
Returns the value of attribute path.
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(executor, meta, path, args, blk) ⇒ Reference
constructor
A new instance of Reference.
Constructor Details
#initialize(executor, meta, path, args, blk) ⇒ Reference
Returns a new instance of Reference.
5 6 7 8 9 10 11 |
# File 'lib/alki/execution/reference.rb', line 5 def initialize(executor,,path,args,blk) @executor = executor @meta = @path = path @args = args @blk = blk end |
Instance Attribute Details
#args ⇒ Object
Returns the value of attribute args.
4 5 6 |
# File 'lib/alki/execution/reference.rb', line 4 def args @args end |
#blk ⇒ Object
Returns the value of attribute blk.
4 5 6 |
# File 'lib/alki/execution/reference.rb', line 4 def blk @blk end |
#executor ⇒ Object
Returns the value of attribute executor.
4 5 6 |
# File 'lib/alki/execution/reference.rb', line 4 def executor @executor end |
#meta ⇒ Object
Returns the value of attribute meta.
4 5 6 |
# File 'lib/alki/execution/reference.rb', line 4 def @meta end |
#path ⇒ Object
Returns the value of attribute path.
4 5 6 |
# File 'lib/alki/execution/reference.rb', line 4 def path @path end |
Instance Method Details
#call ⇒ Object
13 14 15 |
# File 'lib/alki/execution/reference.rb', line 13 def call @executor.execute @meta, @path, @args, @blk end |