Skip to content

Commit

Permalink
fisting stack trace [#4349 state:resolved]
Browse files Browse the repository at this point in the history
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
  • Loading branch information
tenderlove authored and jeremy committed Apr 8, 2010
1 parent 00ee9b3 commit 0e44eb3
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -126,7 +126,7 @@ def delegate(*methods)
%(raise "#{self}##{prefix}#{method} delegated to #{to}.#{method}, but #{to} is nil: \#{self.inspect}")
end

module_eval(<<-EOS, file, line)
module_eval(<<-EOS, file, line - 5)
if instance_methods(false).map(&:to_s).include?("#{prefix}#{method}")
remove_possible_method("#{prefix}#{method}")
end
Expand Down

0 comments on commit 0e44eb3

Please sign in to comment.