diff options
| author | keiju <keiju@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-08-04 10:15:49 +0000 |
|---|---|---|
| committer | keiju <keiju@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-08-04 10:15:49 +0000 |
| commit | 3ec5e56e3f4b36de939b857683f7a132c5f5fecb (patch) | |
| tree | 9062815fe2e14355f8fe1b5928c653fc8e75f2bc /lib/irb/init.rb | |
| parent | 1751a33eeb5767ca7349ff9c724008066ab04381 (diff) | |
| download | ruby-3ec5e56e3f4b36de939b857683f7a132c5f5fecb.tar.gz ruby-3ec5e56e3f4b36de939b857683f7a132c5f5fecb.tar.xz ruby-3ec5e56e3f4b36de939b857683f7a132c5f5fecb.zip | |
* lib/irb/{init.rb,ruby-lex.rb,slex.rb}: can't input '\c' for
[ruby-core: 7122].
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/irb/init.rb')
| -rw-r--r-- | lib/irb/init.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/irb/init.rb b/lib/irb/init.rb index 842eb1221..db22ca639 100644 --- a/lib/irb/init.rb +++ b/lib/irb/init.rb @@ -233,7 +233,7 @@ module IRB # enumerate possible rc-file base name generators def IRB.rc_file_generators if irbrc = ENV["IRBRC"] - yield proc{|rc| irbrc} + yield proc{|rc| rc == "rc" ? irbrc : irbrc+rc} end if home = ENV["HOME"] yield proc{|rc| home+"/.irb#{rc}"} |
