Method: Twb::Util::GML#initialize

Defined in:
lib/twb/util/gml.rb

#initializeGML

Returns a new instance of GML.



42
43
44
45
46
47
48
49
# File 'lib/twb/util/gml.rb', line 42

def initialize
  # @docFile = File.open(@@docfileName,'w')
  # @docFile.puts "Starting up the GML process"
  @gmlHeader = @@gmlHeader
  @fileName  = 'gmlFile'      # will be reset in def render when file is generated
  @nodes     = SortedSet.new
  @edges     = SortedSet.new
end