lib/peekaboo.rb in peekaboo-0.1.0 vs lib/peekaboo.rb in peekaboo-0.1.1
- old
+ new
@@ -51,10 +51,10 @@
module SingletonMethods
def peek_list
self::PEEKABOO_METHOD_LIST
end
- def peeks_at *method_names
+ def enable_tracing_on *method_names
method_names.each do |method_name|
unless peek_list.include? method_name
peek_list << method_name
Peekaboo.wrap_method(self, method_name) if self.instance_methods(false).include? method_name.to_s
else