* 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
@ -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>
|
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
|
* vm.c (rb_vm_stack_to_heap): call rb_vm_get_binding_creatable_next_cfp
|
||||||
|
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,
|
# Because irb evaluates input immediately after it is syntactically complete,
|
||||||
# the results may be slightly different than directly using ruby.
|
# 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 Sessions
|
||||||
#
|
#
|
||||||
# IRB has a special feature, that allows you to manage many sessions at once.
|
# IRB has a special feature, that allows you to manage many sessions at once.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user