summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-03-09 12:45:57 +0000
committernagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-03-09 12:45:57 +0000
commit813615b7bf3646b93ede86e5437e11ae3b473701 (patch)
tree371e5f7e9f024de860fd75a18e771b30d07f2f4b
parente2e5d3fd1e3e4e2b5f430d066280d4118254a62c (diff)
merge revision(s) 39364:
* doc/globals.rdoc: Document what setting $VERBOSE does. [Bug #7899] * doc/globals.rdoc: Added pointer to $-w and $-v for full documentation. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog7
-rw-r--r--doc/globals.rdoc9
-rw-r--r--version.h2
3 files changed, 14 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index e4cc81b65e..0c0e500a63 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+Sat Mar 9 21:45:38 2013 Eric Hodel <drbrain@segment7.net>
+
+ * doc/globals.rdoc: Document what setting $VERBOSE does. [Bug #7899]
+
+ * doc/globals.rdoc: Added pointer to $-w and $-v for full
+ documentation.
+
Sat Mar 9 21:29:45 2013 Naohisa Goto <ngotogenome@gmail.com>
* signal.c (ruby_abort): fix typo in r39354 [Bug #5014]
diff --git a/doc/globals.rdoc b/doc/globals.rdoc
index 379acea7cf..f4cfd35ef6 100644
--- a/doc/globals.rdoc
+++ b/doc/globals.rdoc
@@ -31,7 +31,10 @@ $LOAD_PATH:: The alias to the $:.
$stderr:: The current standard error output.
$stdin:: The current standard input.
$stdout:: The current standard output.
-$VERBOSE:: The verbose flag, which is set by the -v switch.
+$VERBOSE:: The verbose flag, which is set by the -w or -v switch. Setting
+ this to a true value enables warnings as if -w or -v were given
+ on the command line. Setting this to nil disables warnings,
+ including from Kernel#warn.
$-0:: The alias to $/.
$-a:: True if option -a is set. Read-only variable.
$-d:: The alias to $DEBUG.
@@ -40,8 +43,8 @@ $-i:: In in-place-edit mode, this variable holds the extension, otherwise nil.
$-I:: The alias to $:.
$-l:: True if option -l is set. Read-only variable.
$-p:: True if option -p is set. Read-only variable.
-$-v:: The alias to $VERBOSE.
-$-w:: True if option -w is set.
+$-v:: An alias of $VERBOSE. See $VERBOSE above for further discussion.
+$-w:: An alias of $VERBOSE. See $VERBOSE above for further discussion.
== Pre-defined global constants
diff --git a/version.h b/version.h
index 213f1fe4ee..2cdbaae58c 100644
--- a/version.h
+++ b/version.h
@@ -1,6 +1,6 @@
#define RUBY_VERSION "2.0.0"
#define RUBY_RELEASE_DATE "2013-03-09"
-#define RUBY_PATCHLEVEL 25
+#define RUBY_PATCHLEVEL 26
#define RUBY_RELEASE_YEAR 2013
#define RUBY_RELEASE_MONTH 3