Method: Tmx#parse

Defined in:
lib/tmx.rb

#parse(contents, options = {}) ⇒ Object

Parse the the string contents of a TMX file.



29
30
31
32
# File 'lib/tmx.rb', line 29

def parse(contents,options={})
  contents = parser(options).parse contents
  Map.new contents.merge(contents: contents)
end