lib/phonetics/code_generator.rb in phonetics-3.0.7 vs lib/phonetics/code_generator.rb in phonetics-3.0.8
- old
+ new
@@ -5,10 +5,10 @@
module Phonetics
class CodeGenerator
attr_reader :writer
- def initialize(writer = STDOUT)
+ def initialize(writer = $stdout)
@writer = writer
end
def generate_phonetic_cost_c_code
generator = PhoneticCost.new(writer)