Class: Constraints::FeatureConstrainer
- Inherits:
-
Object
- Object
- Constraints::FeatureConstrainer
- Defined in:
- lib/constraints/feature_constrainer.rb
Instance Attribute Summary collapse
-
#args ⇒ Object
readonly
Returns the value of attribute args.
Instance Method Summary collapse
-
#initialize(*args) ⇒ FeatureConstrainer
constructor
A new instance of FeatureConstrainer.
- #matches?(_request) ⇒ Boolean
Constructor Details
#initialize(*args) ⇒ FeatureConstrainer
Returns a new instance of FeatureConstrainer.
7 8 9 |
# File 'lib/constraints/feature_constrainer.rb', line 7 def initialize(*args) @args = args end |
Instance Attribute Details
#args ⇒ Object (readonly)
Returns the value of attribute args.
5 6 7 |
# File 'lib/constraints/feature_constrainer.rb', line 5 def args @args end |