lib/ffi-icu/lib.rb in ffi-icu-0.0.6 vs lib/ffi-icu/lib.rb in ffi-icu-0.0.7
- old
+ new
@@ -75,10 +75,10 @@
raise BufferOverflowError
else
raise Error, name
end
elsif error_code < 0
- warn "ffi-icu: #{Lib.u_errorName error_code}"
+ $stderr.puts "ffi-icu: #{Lib.u_errorName error_code}" if $DEBUG || $VERBOSE
end
ret
end