lib/adiwg/mdtranslator/readers/mdReaders.rb in adiwg-mdtranslator-1.0.0rc3 vs lib/adiwg/mdtranslator/readers/mdReaders.rb in adiwg-mdtranslator-1.0.0rc4
- old
+ new
@@ -17,10 +17,10 @@
if File.directory?(readerDir)
# if directory path exists, build reader file name and require it
readerFile = File.join(readerDir, $response[:readerRequested] + '_reader')
require readerFile
- readerClassName = $response[:readerRequested].clone
+ readerClassName = $response[:readerRequested].dup
readerClassName[0] = readerClassName[0].upcase
$ReaderNS = ADIWG::Mdtranslator::Readers.const_get(readerClassName)
# pass file to requested reader and return internal object