From: Run Paint Run Run Date: 2010-08-13T09:45:36+09:00 Subject: [ruby-core:31705] [Backport #3680] Splatting calls to_ary instead of to_a in some cases Issue #3680 has been updated by Run Paint Run Run. >> o=Object.new => # >> def o.method_missing(m,*) >> p [__method__, m] >> super >> end => nil >> File.open(o) [:method_missing, :to_int] [:method_missing, :to_hash] [:method_missing, :to_path] [:method_missing, :to_str] TypeError: can't convert Object into String from (irb):12:in `initialize' from (irb):12:in `open' from (irb):12 from /usr/local/bin/irb:12:in `
' We should probably take this off-list to avoid cluttering the BTS any more; feel free to e-mail me. ---------------------------------------- http://redmine.ruby-lang.org/issues/show/3680 ---------------------------------------- http://redmine.ruby-lang.org