Sha256: 18f56cf6d5a83e223428430a9438bb52bc11b682e6004944a214f888813b1c37

Contents?: true

Size: 201 Bytes

Versions: 70

Compression:

Stored size: 201 Bytes

Contents

# frozen_string_literal: true

module Kernel
  # class_eval on an object acts like +singleton_class.class_eval+.
  def class_eval(*args, &block)
    singleton_class.class_eval(*args, &block)
  end
end

Version data entries

70 entries across 68 versions & 11 rubygems

Version Path
fluent-plugin-google-cloud-logging-on-prem-0.1.0 vendor/ruby/3.1.0/gems/activesupport-7.0.4.3/lib/active_support/core_ext/kernel/singleton_class.rb
activesupport-7.0.4.3 lib/active_support/core_ext/kernel/singleton_class.rb
rubypitaya-3.12.4 ./lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/activesupport-7.0.4/lib/active_support/core_ext/kernel/singleton_class.rb
activesupport-7.0.4.2 lib/active_support/core_ext/kernel/singleton_class.rb
rubypitaya-3.12.3 ./lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/activesupport-7.0.4/lib/active_support/core_ext/kernel/singleton_class.rb
activesupport-7.0.4.1 lib/active_support/core_ext/kernel/singleton_class.rb
rubypitaya-3.12.2 ./lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/activesupport-7.0.4/lib/active_support/core_ext/kernel/singleton_class.rb
activesupport-7.0.4 lib/active_support/core_ext/kernel/singleton_class.rb
activesupport-7.0.3.1 lib/active_support/core_ext/kernel/singleton_class.rb
activesupport-7.0.3 lib/active_support/core_ext/kernel/singleton_class.rb