Rakefile in unicode-display_width-0.3.0 vs Rakefile in unicode-display_width-0.3.1
- old
+ new
@@ -54,10 +54,10 @@
data.each_line{ |line|
line =~ /^(\S+?);(\S+)\s+#.*$/
if $1 && $2
cps, width = $1, $2
if cps['..']
- range = Range.new *cps.split('..').map{ |cp| cp.to_i(16) }
+ range = Range.new(*cps.split('..').map{ |cp| cp.to_i(16) })
range.each{ |cp| table[ cp ] = width.to_sym }
else
table[ cps.to_i(16) ] = width.to_sym
end
end