Class: Zermelo::Filters::Steps::BaseStep
- Inherits:
-
Object
- Object
- Zermelo::Filters::Steps::BaseStep
- Defined in:
- lib/zermelo/filters/steps/base_step.rb
Instance Attribute Summary collapse
-
#attributes ⇒ Object
readonly
Returns the value of attribute attributes.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(opts, attrs) ⇒ BaseStep
constructor
A new instance of BaseStep.
Constructor Details
#initialize(opts, attrs) ⇒ BaseStep
Returns a new instance of BaseStep.
15 16 17 18 |
# File 'lib/zermelo/filters/steps/base_step.rb', line 15 def initialize(opts, attrs) @options = opts @attributes = attrs end |
Instance Attribute Details
#attributes ⇒ Object (readonly)
Returns the value of attribute attributes.
13 14 15 |
# File 'lib/zermelo/filters/steps/base_step.rb', line 13 def attributes @attributes end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
13 14 15 |
# File 'lib/zermelo/filters/steps/base_step.rb', line 13 def @options end |
Class Method Details
.accepted_types ⇒ Object
5 6 7 |
# File 'lib/zermelo/filters/steps/base_step.rb', line 5 def self.accepted_types raise "Must be implemented in subclass" end |
.returns_type ⇒ Object
9 10 11 |
# File 'lib/zermelo/filters/steps/base_step.rb', line 9 def self.returns_type raise "Must be implemented in subclass" end |