Permalink
Browse files

- Fixed 1.8.6 bug for real

  • Loading branch information...
Brian Takita
Brian Takita committed Feb 17, 2010
1 parent fdea8ff commit 01535d3e429d5e14aafee554d3c45f290eb28526
Showing with 4 additions and 3 deletions.
  1. +3 −0 CHANGES
  2. +1 −3 lib/rr/injections/double_injection.rb
View
@@ -1,3 +1,6 @@
+0.10.9
+- Fixed 1.8.6 bug for real
+
0.10.8
- Fixed 1.8.6 bug
@@ -100,9 +100,7 @@ def bypass_bound_method
protected
def subject_is_proxy_for_method?(method_name)
- subject_eigen = (class << @subject; self; end)
- method_owner = subject_eigen.instance_methods.include?(method_name.to_s) ? subject_eigen.instance_method(method_name).owner : nil
- !method_owner
+ !(class << @subject; self; end).instance_methods.include?(method_name.to_s)
end
def deferred_bind_method

0 comments on commit 01535d3

Please sign in to comment.