Sha256: a1aea8fb8824e9dee60bd351d15afab007ebf5ecb138acf4629da8ae235ceb06

Contents?: true

Size: 239 Bytes

Versions: 8

Compression:

Stored size: 239 Bytes

Contents

# monkey patch to BasicObject, allowing it to respnd to :class
#
# @private
class BasicObject
  # monkey patch to BasicObject, allowing it to respnd to :class
  #
  # @private
  def class
    (class << self; self end).superclass
  end
end

Version data entries

8 entries across 7 versions & 2 rubygems

Version Path
honeybadger-5.4.0 vendor/bundle/ruby/3.2.0/gems/allocation_stats-0.1.5/lib/allocation_stats/core_ext/basic_object.rb
honeybadger-5.3.0 vendor/bundle/ruby/3.2.0/gems/allocation_stats-0.1.5/lib/allocation_stats/core_ext/basic_object.rb
honeybadger-4.5.3 vendor/bundle/ruby/2.6.0/gems/allocation_stats-0.1.5/lib/allocation_stats/core_ext/basic_object.rb
honeybadger-2.4.0 vendor/gems/ruby/2.1.0/gems/allocation_stats-0.1.5/lib/allocation_stats/core_ext/basic_object.rb
honeybadger-2.4.0 vendor/gems/ruby/2.2.0/gems/allocation_stats-0.1.5/lib/allocation_stats/core_ext/basic_object.rb
allocation_stats-0.1.5 lib/allocation_stats/core_ext/basic_object.rb
allocation_stats-0.1.4 lib/allocation_stats/core_ext/basic_object.rb
allocation_stats-0.1.3 lib/allocation_stats/core_ext/basic_object.rb