module Kernel
Public Instance Methods
ap(object, options = {})
click to toggle source
Patch for BasicObject inspections. github.com/awesome-print/awesome_print/pull/253
# File lib/run_loop/patches/awesome_print.rb, line 22 def ap(object, options = {}) if object_id begin puts object.ai(options) rescue NoMethodError => _ puts "(Object doesn't support #inspect)" end object unless AwesomePrint.console? end end