summaryrefslogtreecommitdiff
path: root/doc/syntax
diff options
context:
space:
mode:
authordrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-08-02 19:24:14 +0000
committerdrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-08-02 19:24:14 +0000
commitbe5a436f13ac9ebc2fcc1f2cc690cf420c83da59 (patch)
tree56f455e55999520438cbba250c662458697066e1 /doc/syntax
parent04cf3fa3468dd4948ca453dfa730d52341a270e0 (diff)
downloadbundler-be5a436f13ac9ebc2fcc1f2cc690cf420c83da59.tar.gz
* doc/syntax/refinements.rdoc: Remove mention of instance_eval and
module_eval from scope section per: http://twitter.com/shugomaeda/status/363219951336693761 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42345 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'doc/syntax')
-rw-r--r--doc/syntax/refinements.rdoc5
1 files changed, 2 insertions, 3 deletions
diff --git a/doc/syntax/refinements.rdoc b/doc/syntax/refinements.rdoc
index 752f668923..1a516ed8b2 100644
--- a/doc/syntax/refinements.rdoc
+++ b/doc/syntax/refinements.rdoc
@@ -50,9 +50,8 @@ Activate the refinement with #using:
You may only activate refinements at top-level, not inside any class, module
or method scope. You may activate refinements in a string passed to
-Kernel#eval, Kernel#instance_eval or Kernel#module_eval that is evaluated at
-top-level. Refinements are active until the end of the file or the end of the
-eval string, respectively.
+Kernel#eval that is evaluated at top-level. Refinements are active until the
+end of the file or the end of the eval string, respectively.
Refinements are lexical in scope. When control is transferred outside the
scope the refinement is deactivated. This means that if you require or load a