module Tmx::Parsers

This module defines the parsers for the formats of various TMX output formats.

Public Instance Methods

default=(parser) click to toggle source
# File lib/tmx/parsers/parsers.rb, line 22
def default=(parser)
  parsers.default = parser
end
format(format) click to toggle source
# File lib/tmx/parsers/parsers.rb, line 10
def format(format)
  parsers[format]
end
parsers() click to toggle source
# File lib/tmx/parsers/parsers.rb, line 14
def parsers
  @parsers ||= {}
end
register(format,parser) click to toggle source
# File lib/tmx/parsers/parsers.rb, line 18
def register(format,parser)
  parsers[format] = parser
end