1
0
Fork 0
mirror of https://github.com/teamcapybara/capybara.git synced 2022-11-09 12:08:07 -05:00

Fix (eval) in backtrace for node methods

This commit is contained in:
Tim Pope 2012-04-11 09:37:48 -04:00
parent 755a724d4b
commit 555d27956b

View file

@ -286,7 +286,7 @@ module Capybara
end
NODE_METHODS.each do |method|
class_eval <<-RUBY
class_eval <<-RUBY, __FILE__, __LINE__+1
def #{method}(*args, &block)
current_node.send(:#{method}, *args, &block)
end