lib/active_support/core_ext/kernel/singleton_class.rb



# 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