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