Class: DxfIO::Wrapper
- Inherits:
-
Object
- Object
- DxfIO::Wrapper
- Defined in:
- lib/dxf_io/wrapper.rb
Constant Summary collapse
- SECTIONS_LIST =
DxfIO::Constants::SECTIONS_LIST
- HEADER_NAME =
DxfIO::Constants::HEADER_NAME
- ENTITIES_TYPE_NAME_VALUE_MAPPING =
DxfIO::Constants::ENTITIES_TYPE_NAME_VALUE_MAPPING
Instance Method Summary collapse
- #fetch_entities(group_name) ⇒ Object
-
#initialize(options) ⇒ Wrapper
constructor
A new instance of Wrapper.
Constructor Details
#initialize(options) ⇒ Wrapper
Returns a new instance of Wrapper.
8 9 10 11 12 13 14 15 16 17 18 |
# File 'lib/dxf_io/wrapper.rb', line 8 def initialize() if .is_a? Hash if [:dxf_hash].nil? @dxf_hash = else @dxf_hash = [:dxf_hash] end else raise ArgumentError, 'options must be a Hash' end end |