Class: Floorplanner::Document

Inherits:
Object
  • Object
show all
Defined in:
lib/floorplanner/document.rb

Instance Method Summary collapse

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