summaryrefslogtreecommitdiff
path: root/spec/ruby/core/exception
diff options
context:
space:
mode:
authorYusuke Endoh <[email protected]>2022-12-16 07:31:27 +0900
committerYusuke Endoh <[email protected]>2023-02-20 10:33:06 +0900
commite7b8d32e166815f2e7edebf32aa178915d191b8c (patch)
tree94f8b15c9d5644886c545404756f68dcf37d4eff /spec/ruby/core/exception
parent5c0298bf181921a8aa63cd250d67b294cfe90322 (diff)
Stop using receiver#inspect for "undefined method" errors
``` 42.time #=> undefined method `time' for object Integer (NoMethodError) class Foo privatee #=> undefined local variable or method 'privatee' for class Foo (NoMethodError) end s = "" def s.foo = nil s.bar #=> undefined method `bar' for extended object String (NoMethodError) ``` [Feature #18285]
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/6950
Diffstat (limited to 'spec/ruby/core/exception')
0 files changed, 0 insertions, 0 deletions