Project

General

Profile

« Previous | Next » 

Revision ed3264d3

Added by no6v (Nobuhiro IMAI) over 4 years ago

[ruby/irb] refactoring an error handling in IRB::Inspector

  • moved rescue clause to #inspect_value to catch all failures in inspectors
  • test with all (currently five kind of) inspect modes
    • tweaked the input due to only Marshal can inspect(dump) a BasicObject

https://github.com/ruby/irb/commit/9d112fab8e