aboutsummaryrefslogtreecommitdiffstats
path: root/doc/syntax/refinements.rdoc
diff options
context:
space:
mode:
authordrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-01-24 07:54:45 +0000
committerdrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-01-24 07:54:45 +0000
commitdbcf20069a559142ee7c96aa0e8288b4e8b001fa (patch)
tree423393d8096088a96397522b79d9096e058076c8 /doc/syntax/refinements.rdoc
parent96af5360a4089daf90743ad4722e77eff2261145 (diff)
downloadruby-dbcf20069a559142ee7c96aa0e8288b4e8b001fa.tar.gz
* doc/syntax/calling_methods.rdoc: Added a Method Lookup section.
* doc/syntax/refinements.rdoc (Method Lookup): Clarified that refinement methods are looked up in classes, not instances. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'doc/syntax/refinements.rdoc')
-rw-r--r--doc/syntax/refinements.rdoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/syntax/refinements.rdoc b/doc/syntax/refinements.rdoc
index c8581768fd..bb3096eee9 100644
--- a/doc/syntax/refinements.rdoc
+++ b/doc/syntax/refinements.rdoc
@@ -188,7 +188,7 @@ called:
== Method Lookup
-When looking up a method for a class +C+ Ruby checks:
+When looking up a method for an instance of class +C+ Ruby checks:
* If refinements are active for +C+, in the reverse order they were activated:
* The prepended modules from the refinement for +C+