Class: DataMiner::Step::Process
- Inherits:
-
DataMiner::Step
- Object
- DataMiner::Step
- DataMiner::Step::Process
- Defined in:
- lib/data_miner/step/process.rb
Overview
A step that executes a single class method on the model or an arbitrary code block.
Create these by calling process
inside a data_miner
block.
Instance Attribute Summary collapse
-
#blk ⇒ Proc
readonly
The block of arbitrary code to be run.
-
#description ⇒ String
(also: #block_description)
readonly
A description of what the block does.
-
#method_id ⇒ Symbol
readonly
The method to be called on the model class.
Instance Attribute Details
#blk ⇒ Proc (readonly)
The block of arbitrary code to be run.
23 24 25 |
# File 'lib/data_miner/step/process.rb', line 23 def blk @blk end |
#description ⇒ String (readonly) Also known as: block_description
A description of what the block does. Doesn’t exist when a single class method is specified using a Symbol.
19 20 21 |
# File 'lib/data_miner/step/process.rb', line 19 def description @description end |
#method_id ⇒ Symbol (readonly)
The method to be called on the model class.
15 16 17 |
# File 'lib/data_miner/step/process.rb', line 15 def method_id @method_id end |