[前][次][番号順一覧][スレッド一覧]

ruby-changes:27023

From: zzak <ko1@a...>
Date: Wed, 6 Feb 2013 00:57:42 +0900 (JST)
Subject: [ruby-changes:27023] zzak:r39075 (trunk): * lib/irb.rb: Remove example from restrictions, it works [Github #246]

zzak	2013-02-06 00:57:19 +0900 (Wed, 06 Feb 2013)

  New Revision: 39075

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=39075

  Log:
    * lib/irb.rb: Remove example from restrictions, it works [Github #246]

  Modified files:
    trunk/ChangeLog
    trunk/lib/irb.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 39074)
+++ ChangeLog	(revision 39075)
@@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Wed Feb  6 00:56:00 2013  Zachary Scott  <zachary@z...>
+
+	* lib/irb.rb: Remove example from restrictions, it works [Github #246]
+
 Wed Feb  6 00:46:53 2013  Kazuki Tsujimoto  <kazuki@c...>
 
 	* vm.c (rb_vm_stack_to_heap): call rb_vm_get_binding_creatable_next_cfp
Index: lib/irb.rb
===================================================================
--- lib/irb.rb	(revision 39074)
+++ lib/irb.rb	(revision 39075)
@@ -223,16 +223,6 @@ STDOUT.sync = true https://github.com/ruby/ruby/blob/trunk/lib/irb.rb#L223
 # 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.

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]