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,={}) contents = parser().parse contents Map.new contents.merge(contents: contents) end |