# MethodWatcher Provide method\_overriding callback. ## Installation Add this line to your application's Gemfile: gem 'method_watcher' And then execute: $ bundle Or install it yourself as: $ gem install method_watcher ## Usage ```ruby require 'method_watcher' class A include MethodWatcher def foo end def bar end watch_methods :foo, :bar end class B < A def foo end end #you will get a warning: #method A#foo is overridden #you can define you own behavior when method overriding. #in class A: def self.method_overriding method puts "OMG, method #{method} is overridden!!" end ``` ## Contributing 1. Fork it 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Commit your changes (`git commit -am 'Add some feature'`) 4. Push to the branch (`git push origin my-new-feature`) 5. Create new Pull Request