class AmazingPrint::Formatters::ObjectFormatter
def awesome_instance
def awesome_instance str = object.send(options[:class_name]).to_s return str unless options[:object_id] # We need to ensure that the original Kernel#format is used here instead of the one # defined above. # rubocop:disable Style/ColonMethodCall str + Kernel::format(':0x%08x', (object.__id__ * 2)) # rubocop:enable Style/ColonMethodCall end