Class: Togglefy::InvalidFeatureAttribute
- Defined in:
- lib/togglefy/errors/invalid_feature_attribute.rb
Overview
The InvalidFeatureAttribute class represents an error raised when an invalid attribute is provided for a Togglefy::Feature.
Instance Method Summary collapse
-
#initialize(attr) ⇒ InvalidFeatureAttribute
constructor
Initializes a new InvalidFeatureAttribute error.
Constructor Details
#initialize(attr) ⇒ InvalidFeatureAttribute
Initializes a new InvalidFeatureAttribute error.
10 11 12 |
# File 'lib/togglefy/errors/invalid_feature_attribute.rb', line 10 def initialize(attr) super("The attribute '#{attr}' is not valid for Togglefy::Feature.") end |