Class: Cure::Strategy::MatchStrategyParams
- Inherits:
-
BaseStrategyParams
- Object
- BaseStrategyParams
- Cure::Strategy::MatchStrategyParams
- Defined in:
- lib/cure/strategy/match_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) ⇒ MatchStrategyParams
constructor
A new instance of MatchStrategyParams.
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) ⇒ MatchStrategyParams
Returns a new instance of MatchStrategyParams.
42 43 44 45 |
# File 'lib/cure/strategy/match_strategy.rb', line 42 def initialize(=nil) @match = [:match] super() end |
Instance Attribute Details
#match ⇒ Object (readonly)
Returns the value of attribute match.
38 39 40 |
# File 'lib/cure/strategy/match_strategy.rb', line 38 def match @match end |