Tweaks every Ruby object with method_not_implemented.
About
class SomeBaseClass
def some_method
method_not_implemented
end
end
class SomeDerivedClass < SomeBaseClass
endIf some_method will be invoked on instance of SomeDerivedClass MethodNotImplemented: SomeDerivedClass.some_method (instance method) will be raised.
Installing gem
Add to your Gemfile:
gem "method-not-implemented", "~> 1.0"Running tests
Install bundler:
gem install bundlerInstall dependencies:
cd method-not-implemented && bundleRun tests:
cd method-not-implemented && bundle exec rake test