1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

to_ary should be defined as a public method

This commit is contained in:
Akira Matsuda 2020-10-02 15:50:50 +09:00
parent 14eb6b2794
commit 702add649d

View file

@ -12,7 +12,7 @@ class WrapTest < ActiveSupport::TestCase
class Proxy
def initialize(target) @target = target end
def method_missing(*a) @target.send(*a) end
def method_missing(*a) @target.public_send(*a) end
end
class DoubtfulToAry