Exception: ChefSpec::Error::NoConversionError
- Inherits:
-
ChefSpecError
- Object
- StandardError
- ChefSpecError
- ChefSpec::Error::NoConversionError
- Defined in:
- lib/chefspec/deprecations.rb
Instance Method Summary collapse
-
#initialize(matcher) ⇒ NoConversionError
constructor
A new instance of NoConversionError.
Constructor Details
#initialize(matcher) ⇒ NoConversionError
Returns a new instance of NoConversionError.
146 147 148 149 150 151 152 |
# File 'lib/chefspec/deprecations.rb', line 146 def initialize(matcher) = "I cannot convert `#{matcher}` to use a new matcher format!" \ " Please see the ChefSpec documentation and CHANGELOG for details" \ " on converting this matcher. Sorry :(" super() end |