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
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.
40 41 42 43 |
# File 'lib/cure/strategy/end_with_strategy.rb', line 40 def initialize(=nil) @match = ["match"] super() end |
Instance Attribute Details
#match ⇒ Object (readonly)
Returns the value of attribute match.
36 37 38 |
# File 'lib/cure/strategy/end_with_strategy.rb', line 36 def match @match end |