Exception: GreenMidget::FeatureMethodNotImplemented

Inherits:
StandardError
  • Object
show all
Defined in:
lib/green_midget/errors/feature_method_not_implemented.rb

Instance Method Summary collapse

Constructor Details

#initialize(feature, method_name) ⇒ FeatureMethodNotImplemented

Returns a new instance of FeatureMethodNotImplemented.



3
4
5
6
7
8
# File 'lib/green_midget/errors/feature_method_not_implemented.rb', line 3

def initialize(feature, method_name)
  super <<-MSG
Method #{method_name.inspect} not found. Either implement it or
delete feature #{feature} from your features list.
MSG
end