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

ruby-changes:17470

From: naruse <ko1@a...>
Date: Wed, 13 Oct 2010 09:31:07 +0900 (JST)
Subject: [ruby-changes:17470] Ruby:r29475 (trunk): Fix style for ruby-mode.el.

naruse	2010-10-13 09:27:41 +0900 (Wed, 13 Oct 2010)

  New Revision: 29475

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

  Log:
    Fix style for ruby-mode.el.

  Modified files:
    trunk/test/ruby/test_string.rb

Index: test/ruby/test_string.rb
===================================================================
--- test/ruby/test_string.rb	(revision 29474)
+++ test/ruby/test_string.rb	(revision 29475)
@@ -175,11 +175,11 @@
     def o.<=>(x); nil; end
     assert_nil("foo" <=> o)
 
-    class<<o;undef <=>;end
+    class << o;undef <=>;end
     def o.<=>(x); 1; end
     assert_equal(-1, "foo" <=> o)
 
-    class<<o;undef <=>;end
+    class << o;undef <=>;end
     def o.<=>(x); 2**100; end
     assert_equal(-(2**100), "foo" <=> o)
   end
@@ -202,7 +202,7 @@
     def o.to_str; end
     def o.==(x); false; end
     assert_equal(false, "foo" == o)
-    class<<o;undef ==;end
+    class << o;undef ==;end
     def o.==(x); true; end
     assert_equal(true, "foo" == o)
   end
@@ -1818,7 +1818,7 @@
       c.class_eval { attr 1 }
     end
 
-    class<<o;undef to_str;end
+    class << o;undef to_str;end
     def o.to_str; "foo"; end
     assert_nothing_raised do
       c.class_eval { attr o }

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

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