Sha256: ff65665f40e1f8952c68d420c7db7b61312ef34df76761fc8996d5e0f4bd1a82
Contents?: true
Size: 920 Bytes
Versions: 1
Compression:
Stored size: 920 Bytes
Contents
## Tweaks every Ruby object with `method_not_implemented`. [![Gem Version](https://badge.fury.io/rb/method-not-implemented.svg)](https://badge.fury.io/rb/method-not-implemented) [![Build Status](https://travis-ci.org/yivo/method-not-implemented.svg?branch=master)](https://travis-ci.org/yivo/method-not-implemented) ## About ```ruby class SomeBaseClass def some_method method_not_implemented end end class SomeDerivedClass < SomeBaseClass end ``` If `some_method` will be invoked on instance of `SomeDerivedClass` `MethodNotImplemented: SomeDerivedClass.some_method (instance method)` will be raised. ## Installing gem Add to your Gemfile: ```ruby gem "method-not-implemented", "~> 1.0" ``` ## Running tests Install bundler: ```bash gem install bundler ``` Install dependencies: ```bash cd method-not-implemented && bundle ``` Run tests: ```bash cd method-not-implemented && bundle exec rake test ```
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
method-not-implemented-1.0.1 | README.md |