diff options
author | zzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-02-05 15:57:19 +0000 |
---|---|---|
committer | zzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-02-05 15:57:19 +0000 |
commit | 5b15e5a38fb3963cffb3c795883d6fc141031251 (patch) | |
tree | fb1558a56edaba98af779d641cdde53777a24e08 | |
parent | 1e32d0fc1f0a86d9aafaa003e2dd28cda66d56c1 (diff) | |
download | ruby-5b15e5a38fb3963cffb3c795883d6fc141031251.tar.gz |
* 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
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | lib/irb.rb | 10 |
2 files changed, 4 insertions, 10 deletions
@@ -1,3 +1,7 @@ +Wed Feb 6 00:56:00 2013 Zachary Scott <zachary@zacharyscott.net> + + * lib/irb.rb: Remove example from restrictions, it works [Github #246] + Wed Feb 6 00:46:53 2013 Kazuki Tsujimoto <kazuki@callcc.net> * vm.c (rb_vm_stack_to_heap): call rb_vm_get_binding_creatable_next_cfp diff --git a/lib/irb.rb b/lib/irb.rb index 7f3de5dffe..72ebe1bd35 100644 --- a/lib/irb.rb +++ b/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. |