Class: Cure::Strategy::StartWithStrategyParams
- Inherits:
-
BaseStrategyParams
- Object
- BaseStrategyParams
- Cure::Strategy::StartWithStrategyParams
- Defined in:
- lib/cure/strategy/start_with_strategy.rb
Instance Attribute Summary collapse
-
#match ⇒ Object
readonly
Returns the value of attribute match.
Attributes inherited from BaseStrategyParams
Instance Method Summary collapse
-
#initialize(options = nil) ⇒ StartWithStrategyParams
constructor
A new instance of StartWithStrategyParams.
Methods inherited from BaseStrategyParams
Methods included from Validators
common_validators, instance_variables_hash, register_validator, validate, #validates
Methods included from Validators::Helpers
Constructor Details
#initialize(options = nil) ⇒ StartWithStrategyParams
Returns a new instance of StartWithStrategyParams.
41 42 43 44 |
# File 'lib/cure/strategy/start_with_strategy.rb', line 41 def initialize(=nil) @match = ["match"] super() end |
Instance Attribute Details
#match ⇒ Object (readonly)
Returns the value of attribute match.
37 38 39 |
# File 'lib/cure/strategy/start_with_strategy.rb', line 37 def match @match end |