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

ruby-changes:35727

From: svn <ko1@a...>
Date: Mon, 6 Oct 2014 10:27:49 +0900 (JST)
Subject: [ruby-changes:35727] svn:r47809 (trunk): * remove trailing spaces.

svn	2014-10-06 10:27:43 +0900 (Mon, 06 Oct 2014)

  New Revision: 47809

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

  Log:
    * remove trailing spaces.

  Modified files:
    trunk/tool/unicode_norm_gen.rb
Index: tool/unicode_norm_gen.rb
===================================================================
--- tool/unicode_norm_gen.rb	(revision 47808)
+++ tool/unicode_norm_gen.rb	(revision 47809)
@@ -20,9 +20,9 @@ class Array https://github.com/ruby/ruby/blob/trunk/tool/unicode_norm_gen.rb#L20
   def line_slice (new_line) # joins items, 16 items per line
     each_slice(16).collect(&:join).join new_line
   end
-  
+
   def to_UTF8()  collect(&:to_UTF8).join  end
-  
+
   def to_regexp_chars # converts an array of Integers to character ranges
     sort.inject([]) do |ranges, value|
       if ranges.last and ranges.last[1]+1>=value
@@ -64,7 +64,7 @@ CombiningClass = {}  # constant to allow https://github.com/ruby/ruby/blob/trunk/tool/unicode_norm_gen.rb#L64
 # read the file 'UnicodeData.txt'
 IO.foreach("../data/UnicodeData.txt") do |line|
   codepoint, name, _2, char_class, _4, decomposition, *_rest = line.split(";")
-  
+
   case decomposition
   when /^[0-9A-F]/
     decomposition_table[codepoint.hex] = decomposition.split(' ').collect(&:hex)
@@ -72,7 +72,7 @@ IO.foreach("../data/UnicodeData.txt") do https://github.com/ruby/ruby/blob/trunk/tool/unicode_norm_gen.rb#L72
     kompatible_table[codepoint.hex] = decomposition.split(' ').drop(1).collect(&:hex)
   end
   CombiningClass[codepoint.hex] = char_class.to_i if char_class != "0"
-  
+
   if name=~/(First|Last)>$/ and (char_class!="0" or decomposition!="")
     warn "Unexpected: Character range with data relevant to normalization!"
   end

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

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