mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
4f7a6aafa5
commit
7e9eb32669
21 changed files with 611 additions and 60 deletions
|
@ -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 = ["%", "&", "*", "**", "+", "-", "/",
|
||||
"<", "<<", "<=", "<=>", "==", "===", "=~", ">", ">=", ">>",
|
||||
"[]", "[]=", "^", "!", "!=", "!~"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue