Class: DxfDummyGenerator
- Inherits:
-
Object
- Object
- DxfDummyGenerator
- Defined in:
- lib/dxf-dummy-generator.rb
Instance Method Summary collapse
-
#initialize(args) ⇒ DxfDummyGenerator
constructor
A new instance of DxfDummyGenerator.
Constructor Details
#initialize(args) ⇒ DxfDummyGenerator
Returns a new instance of DxfDummyGenerator.
7 8 9 10 11 12 13 |
# File 'lib/dxf-dummy-generator.rb', line 7 def initialize(args) @options = DxfOptions.parse(args) filename = getFileName(@options) dxf = DXF.new(@options[:dxf]) printOutput(@options, filename) saveFile(dxf, filename) end |