class method
self.included
Ruby on Rails 3.2.22.5
Since v2.3.18 Last seen in v3.2.22.5Signature
self.included(base)
No documentation comment.
Parameters
-
basereq
Source
# File activesupport/lib/active_support/memoizable.rb, line 18
def self.included(base)
base.class_eval do
unless base.method_defined?(:freeze_without_memoizable)
alias_method_chain :freeze, :memoizable
end
end
end
Defined in activesupport/lib/active_support/memoizable.rb line 18
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Memoizable::InstanceMethods