Set watchers for the method
method
35 36 37 38 39
# File 'lib/active_spy/spy/spy.rb', line 35 def watch_method(*methods) methods.each do |method| ActiveSpy::SpyList << { 'class' => name, 'method' => method } end end