diff options
| author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-11-19 08:07:51 +0000 |
|---|---|---|
| committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-11-19 08:07:51 +0000 |
| commit | fca560bca4caba437a99547a080e30963003e798 (patch) | |
| tree | 00da6cc4c3bf018f949dfcbc5c88f8662fee1480 /lib/irb.rb | |
| parent | 49951e7ad5fadf9ea4e7a9183de3420e66f96eec (diff) | |
| download | ruby-fca560bca4caba437a99547a080e30963003e798.tar.gz ruby-fca560bca4caba437a99547a080e30963003e798.tar.xz ruby-fca560bca4caba437a99547a080e30963003e798.zip | |
* 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: http://svn.ruby-lang.org/repos/ruby/trunk@3064 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/irb.rb')
| -rw-r--r-- | lib/irb.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/irb.rb b/lib/irb.rb index a77585b64..0d0f6f413 100644 --- a/lib/irb.rb +++ b/lib/irb.rb @@ -51,7 +51,7 @@ module IRB def IRB.start(ap_path = nil) $0 = File::basename(ap_path, ".rb") if ap_path - IRB.initialize(ap_path) + IRB.setup(ap_path) if @CONF[:SCRIPT] irb = Irb.new(nil, @CONF[:SCRIPT]) |
