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)
-
- (Proc) blk
readonly
The block of arbitrary code to be run.
-
- (String) description
(also: #block_description)
readonly
A description of what the block does.
-
- (Symbol) method_id
readonly
The method to be called on the model class.
Instance Attribute Details
- (Proc) blk (readonly)
The block of arbitrary code to be run.
20 21 22 |
# File 'lib/data_miner/step/process.rb', line 20 def blk @blk end |
- (String) description (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.
16 17 18 |
# File 'lib/data_miner/step/process.rb', line 16 def description @description end |
- (Symbol) method_id (readonly)
The method to be called on the model class.
12 13 14 |
# File 'lib/data_miner/step/process.rb', line 12 def method_id @method_id end |