继承BasicObject时会出现以下情况:
class Test < BasicObject def inspect "foobar" end end test = Test.new test.inspect # => "foobar" test (Object doesn't support #inspect) =>
是否有可能以某种方式实施检查以使其在 IRB 中正常运行?