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:
parent
14eb6b2794
commit
702add649d
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue