Skip to content

Commit

Permalink
* lib/irb/init.rb (IRB.parse_opts): set VERBOSE to true when debug
Browse files Browse the repository at this point in the history
  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
  • Loading branch information
mame committed Aug 1, 2010
1 parent 6ad3f61 commit ffe4918
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
Sun Aug 1 10:23:48 2010 Yusuke Endoh <[email protected]>

* 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 <[email protected]>

* bignum.c (big_op): comparison of bignum and infinity has returned 1
Expand Down
1 change: 1 addition & 0 deletions lib/irb/init.rb
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ def IRB.parse_opts
@CONF[:MATH_MODE] = true
when "-d"
$DEBUG = true
$VERBOSE = true
when "-w"
$VERBOSE = true
when /^-W(.+)?/
Expand Down

0 comments on commit ffe4918

Please sign in to comment.