Class: Floorplanner::Document
- Inherits:
-
Object
- Object
- Floorplanner::Document
- Defined in:
- lib/floorplanner/document.rb
Instance Method Summary collapse
-
#initialize(fml_fn) ⇒ Document
constructor
A new instance of Document.
Constructor Details
#initialize(fml_fn) ⇒ Document
Returns a new instance of Document.
4 5 6 |
# File 'lib/floorplanner/document.rb', line 4 def initialize fml_fn @xml = Nokogiri::XML.parse(open(fml_fn)) end |