Sha256: 0a1ae42a7f6f39518a44f443ec211dddbcdab2bbb8532166c848823e4d839230
Contents?: true
Size: 223 Bytes
Versions: 2
Compression:
Stored size: 223 Bytes
Contents
# frozen_string_literal: true unless defined?(Rails) || defined?(ActiveSupport) # :nodoc: module Kernel # :nodoc: def class_eval(*args, &block) singleton_class.class_eval(*args, &block) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
stub_requests-0.1.5 | lib/stub_requests/core_ext/kernel/singleton_class.rb |
stub_requests-0.1.4 | lib/stub_requests/core_ext/kernel/singleton_class.rb |