Class: DxfDummyGenerator

Inherits:
Object
  • Object
show all
Defined in:
lib/dxf-dummy-generator.rb

Instance Method Summary collapse

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