Actions
Bug #4606
closedRegression of __method__ on 1.9
Description
=begin
As found on:
http://stackoverflow.com/questions/5129798
class Testing
[:one, :two].each do |name|
define_method(name) do
puts method
end
end
end
t = Testing.new
t.one # => two
t.two # => two
Output is correct in 1.8.7, but not in 1.9.2.
=end
Actions
Like0
Like0