Exception: ThisFeature::BadAdapterError
- Defined in:
- lib/this_feature/errors.rb
Instance Method Summary collapse
-
#initialize(adapter_instance) ⇒ BadAdapterError
constructor
A new instance of BadAdapterError.
Constructor Details
#initialize(adapter_instance) ⇒ BadAdapterError
Returns a new instance of BadAdapterError.
11 12 13 |
# File 'lib/this_feature/errors.rb', line 11 def initialize(adapter_instance) super("adapter #{adapter_instance.class.name} doesn't inherit from #{ThisFeature::Adapters::Base.name}") end |