mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Typo in alias_method_chain rdoc.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4534 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
@@ -17,7 +17,7 @@ class Module
|
||||
# is equivalent to
|
||||
#
|
||||
# alias_method :foo_without_feature?, :foo?
|
||||
# alias_method :foo?, :foo_without_feature?
|
||||
# alias_method :foo?, :foo_with_feature?
|
||||
#
|
||||
# so you can safely chain foo, foo?, and foo! with the same feature.
|
||||
def alias_method_chain(target, feature)
|
||||
|
||||
Reference in New Issue
Block a user