vendor/bundle/ruby/2.3.0/gems/sqreen-1.10.5/lib/sqreen/instrumentation.rb
# WARNING We do not actually remove `meth`
WARNING We do not actually remove `meth`
WARNING We do not actually remove ` meth `
def unoverride_class_method(klass, meth)
      saved_meth_name = get_saved_method_name(meth)
      eval "method_kind = nil; class << #{klass}
          case
          when public_method_defined?(#{meth.to_sym.inspect})
            method_kind = :public
          when protected_method_defined?(original)
            method_kind = :protected
          when private_method_defined?(#{meth.to_sym.inspect})
            method_kind = :private
          end
          alias_method #{meth.to_sym.inspect}, #{saved_meth_name.to_sym.inspect}
          send(method_kind, #{meth.to_sym.inspect})
      end "
    end
def unoverride_class_method ( klass , meth ) saved_meth_name = get_saved_method_name ( meth ) eval "method_kind = nil; class << #{klass}
          case
          when public_method_defined?(#{meth.to_sym.inspect})
            method_kind = :public
          when protected_method_defined?(original)
            method_kind = :protected
          when private_method_defined?(#{meth.to_sym.inspect})
            method_kind = :private
          end
          alias_method #{meth.to_sym.inspect}, #{saved_meth_name.to_sym.inspect}
          send(method_kind, #{meth.to_sym.inspect})
      end " end
WARNING We do not actually remove `meth`
WARNING We do not actually remove ` meth `
klass
<not_specific>
meth
<not_specific>