matz
841f07e4e4
* lib/irb.rb (IRB::Irb#eval_input): remove extra @context.prompt_i.
...
[ruby-core:19718]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@20136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-07 15:10:19 +00:00
nobu
aece287bdc
* lib/irb.rb (IRB::Irb::eval_input): rescues Interrupt and other than
...
SystemExit and SignalException. [ruby-core:15359]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-02-08 15:44:54 +00:00
matz
7514584b70
* lib/rational.rb: applied documentation patch from Gavin Sinclair
...
<gsinclair@gmail.com>. [ruby-core:06364]
* lib/irb.rb (IRB::Irb::eval_input): handle prompts with newlines
in irb auto-indentation mode. [ruby-core:06358]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-25 06:38:26 +00:00
keiju
f9fb21448b
* lib/irb.rb lib/irb/* doc/irb: IRB 0.9.5
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-19 19:24:59 +00:00
matz
373a59b95b
* lib/irb.rb (IRB::Irb::eval_input): warn and exit if $SAFE >=3
...
after input evaluation.
* lib/irb.rb (IRB::Irb::eval_input): untaint input string. now
irb works for levels 1 and 2.
* ext/syck/rubyext.c (syck_loader_transfer): should not use
rb_cProc directly, since type_proc may be Proc, Block, or
Method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3931 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-10 05:22:17 +00:00
matz
5315f0d667
* array.c (rb_ary_zip): iterates over items in the receiver.
...
zipped with nil if argument arrays are shorter. if arrays are
longer, left items are ignored. now works with blocks.
* enum.c (zip_i): changed for new behavior.
* array.c (rb_ary_transpose): added. [new]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3064 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-19 08:07:51 +00:00
nobu
29cef5f795
use Object#class instead of deprecated Object#type.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2927 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-02 16:45:35 +00:00
keiju
af064b04b1
* irb 0.9
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-07-09 11:17:17 +00:00
keiju
3c1264113e
*** empty log message ***
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-05-08 09:28:19 +00:00
knu
94df732f8b
Get rid of Japanese comments and fix English comments as appropriate.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1362 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-05-03 08:56:49 +00:00
knu
f8ab487e4d
Initial revision
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-04-30 17:38:21 +00:00