diff options
author | zzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-12-21 05:45:50 +0000 |
---|---|---|
committer | zzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-12-21 05:45:50 +0000 |
commit | 7e9eb32669348b7e0a5775c8e0fc9566be11fc31 (patch) | |
tree | 96be4fc975e7afab8dbf4c85e04d552760dab34c /lib/irb/completion.rb | |
parent | 4f7a6aafa57bf57ce4b0b5e323548f0a6385d527 (diff) | |
download | ruby-7e9eb32669348b7e0a5775c8e0fc9566be11fc31.tar.gz |
* lib/irb.rb, lib/irb/*: Documentation for IRB
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/irb/completion.rb')
-rw-r--r-- | lib/irb/completion.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/irb/completion.rb b/lib/irb/completion.rb index 3f886f507c..3b4a07186f 100644 --- a/lib/irb/completion.rb +++ b/lib/irb/completion.rb @@ -9,10 +9,12 @@ require "readline" module IRB - module InputCompletor + module InputCompletor # :nodoc: @RCS_ID='-$Id$-' + # Set of reserved words used by Ruby, you should not use these for + # constants or variables ReservedWords = [ "BEGIN", "END", "alias", "and", @@ -208,6 +210,7 @@ module IRB end } + # Set of available operators in Ruby Operators = ["%", "&", "*", "**", "+", "-", "/", "<", "<<", "<=", "<=>", "==", "===", "=~", ">", ">=", ">>", "[]", "[]=", "^", "!", "!=", "!~"] |