ruby/lib/mkmf-rice.rb.in in rice-1.3.2 vs ruby/lib/mkmf-rice.rb.in in rice-1.4.0
- old
+ new
@@ -188,10 +188,10 @@
def printf(format, *args)
@file.printf(format, *args)
end
def puts(*strings)
- print(*strings.map { |s| "#{s}\n" })
+ print(*strings.flatten.map { |s| "#{s}\n" })
end
def close
@file.close
end