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
#force_replace, #options, #replace_partial
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.
47 48 49 50 |
# File 'lib/cure/strategy/start_with_strategy.rb', line 47 def initialize(=nil) @match = [:match] super() end |
Instance Attribute Details
#match ⇒ Object (readonly)
Returns the value of attribute match.
43 44 45 |
# File 'lib/cure/strategy/start_with_strategy.rb', line 43 def match @match end |