Changeset 18696 for lang/ruby

Show
Ignore:
Timestamp:
09/03/08 02:19:20 (6 years ago)
Author:
hajimehoshi
Message:

modoshits

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/ruby/bokeshi/trunk/bokeshi/cpu.rb

    r18695 r18696  
    1515      else 
    1616        if seqs.all?{|seq| seq.length == 1} 
    17           # seqs.size % 2 == 0  
    18           seqs.inject(0) do |result, seq| 
    19             result ^ seq.length 
    20           end == 0 
     17          seqs.size % 2 == 0  
    2118        else 
    2219          seqs.inject(0) do |result, seq|