mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/irb.rb: Remove example from restrictions, it works [Github #246]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
1e32d0fc1f
commit
5b15e5a38f
2 changed files with 4 additions and 10 deletions
10
lib/irb.rb
10
lib/irb.rb
|
@ -223,16 +223,6 @@ STDOUT.sync = true
|
|||
# Because irb evaluates input immediately after it is syntactically complete,
|
||||
# the results may be slightly different than directly using ruby.
|
||||
#
|
||||
# One of the obvious differences is how irb handles symbols as continuated
|
||||
# statements:
|
||||
#
|
||||
# ruby -e 'p :+' #=> :+
|
||||
# irb
|
||||
# irb(main):001:0> p :+
|
||||
# irb(main):002:0*
|
||||
#
|
||||
# irb tries to contiue the statement 'p :+' on the next line.
|
||||
#
|
||||
# == IRB Sessions
|
||||
#
|
||||
# IRB has a special feature, that allows you to manage many sessions at once.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue