lib/hanami/utils/basic_object.rb in hanami-utils-1.3.6 vs lib/hanami/utils/basic_object.rb in hanami-utils-1.3.7

- old
+ new

@@ -1,5 +1,7 @@ +# frozen_string_literal: true + module Hanami module Utils # BasicObject # # @since 0.3.5 @@ -36,16 +38,14 @@ # # @since 0.3.5 # # @see http://ruby-doc.org/core/Object.html#method-i-inspect # - # rubocop:disable Style/FormatString # rubocop:disable Style/FormatStringToken def inspect "#<#{self.class}:#{'0x0000%x' % (__id__ << 1)}#{__inspect}>" end # rubocop:enable Style/FormatStringToken - # rubocop:enable Style/FormatString # @!macro [attach] instance_of?(class) # # Determines if self is an instance of given class or module #