INSPECTORS and methods defined on the constant should be moved to the Inspector class. I especially find ::def_inspector useful for implementing new inspectors.
This issue was solved with changeset r38542.
Zachary, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
lib/irb/inspector.rb, lib/irb/context.rb: Move IRB::INSPECTORS and
class methods to IRB::Inspector [ruby-core:51067][Bug #7598]
This issue was solved with changeset r38625.
Zachary, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.