aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--lib/irb.rb10
2 files changed, 4 insertions, 10 deletions
diff --git a/ChangeLog b/ChangeLog
index 54450516c8..a058856cfc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.