lib/adiwg/mdtranslator/writers/mdWriters.rb in adiwg-mdtranslator-1.0.0rc3 vs lib/adiwg/mdtranslator/writers/mdWriters.rb in adiwg-mdtranslator-1.0.0rc4

- old
+ new

@@ -25,10 +25,10 @@ if File.directory?(writerDir) # if directory path exists, build writer file name and then require it writerFile = File.join(writerDir, $response[:writerName] + '_writer') require writerFile - writerClassName = $response[:writerName].clone + writerClassName = $response[:writerName].dup writerClassName[0] = writerClassName[0].upcase $WriterNS = ADIWG::Mdtranslator::Writers.const_get(writerClassName) # pass internal object to requested writer $response[:writerOutput] = $WriterNS.startWriter(intObj)