diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-06-10 05:37:44 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-06-10 05:37:44 +0000 |
commit | 30fb117efa7f6fbe479bf26740e0cfd6a1d2d556 (patch) | |
tree | 71cc958071755b45fc4910ea5e7c81fcbf8d9a52 /lib/irb | |
parent | b114537fbf7ef2ebf5ea51d06ed7404143c3490a (diff) | |
download | ruby-30fb117efa7f6fbe479bf26740e0cfd6a1d2d556.tar.gz ruby-30fb117efa7f6fbe479bf26740e0cfd6a1d2d556.tar.xz ruby-30fb117efa7f6fbe479bf26740e0cfd6a1d2d556.zip |
* lib/irb/ruby-lex.rb: typo.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/irb')
-rw-r--r-- | lib/irb/ruby-lex.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/irb/ruby-lex.rb b/lib/irb/ruby-lex.rb index d8f8a1024..4b58ba6fd 100644 --- a/lib/irb/ruby-lex.rb +++ b/lib/irb/ruby-lex.rb @@ -183,7 +183,7 @@ class RubyLex end private :buf_input - def set_prompt(p, &block) + def set_prompt(p=nil, &block) p = block if block_given? if p.respond_to?(:call) @prompt = p |