Method: ActiveSupport::Memoizable::InstanceMethods.included

Defined in:
lib/active_support/memoizable.rb

.included(base) ⇒ Object



11
12
13
14
15
16
17
# File 'lib/active_support/memoizable.rb', line 11

def self.included(base)
  base.class_eval do
    unless base.method_defined?(:freeze_without_memoizable)
      alias_method_chain :freeze, :memoizable
    end
  end
end