mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/irb/init.rb (IRB.parse_opts): set VERBOSE to true when debug
switch called in irb. a patch from Andrew Grimm in [ruby-core:31558]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
6ad3f61663
commit
ffe49186c9
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
Sun Aug 1 10:23:48 2010 Yusuke Endoh <mame@tsg.ne.jp>
|
||||||
|
|
||||||
|
* lib/irb/init.rb (IRB.parse_opts): set VERBOSE to true when debug
|
||||||
|
switch called in irb. a patch from Andrew Grimm in
|
||||||
|
[ruby-core:31558].
|
||||||
|
|
||||||
Sun Aug 1 09:35:35 2010 Yusuke Endoh <mame@tsg.ne.jp>
|
Sun Aug 1 09:35:35 2010 Yusuke Endoh <mame@tsg.ne.jp>
|
||||||
|
|
||||||
* bignum.c (big_op): comparison of bignum and infinity has returned 1
|
* bignum.c (big_op): comparison of bignum and infinity has returned 1
|
||||||
|
|
|
@ -135,6 +135,7 @@ module IRB
|
||||||
@CONF[:MATH_MODE] = true
|
@CONF[:MATH_MODE] = true
|
||||||
when "-d"
|
when "-d"
|
||||||
$DEBUG = true
|
$DEBUG = true
|
||||||
|
$VERBOSE = true
|
||||||
when "-w"
|
when "-w"
|
||||||
$VERBOSE = true
|
$VERBOSE = true
|
||||||
when /^-W(.+)?/
|
when /^-W(.+)?/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue