lib/writers/writer_factory.riml in speckle-0.1.15 vs lib/writers/writer_factory.riml in speckle-0.1.16
- old
+ new
@@ -1,11 +1,11 @@
class WriterFactory
defm get_writer(writer_name)
- if a:writer_name == 'file'
+ if writer_name == 'file'
return new FileWriter()
- elseif a:writer_name == 'console'
+ elseif writer_name == 'console'
return new ConsoleWriter()
- elseif a:writer_name == 'buffer'
+ elseif writer_name == 'buffer'
return new BufferWriter()
else
return new BufferWriter()
end
end