Module: TmxParser

Defined in:
lib/tmx-parser.rb,
lib/tmx-parser/version.rb,
lib/tmx-parser/document.rb,
lib/tmx-parser/elements.rb,
lib/tmx-parser/listener.rb,
lib/tmx-parser/tag_names.rb,
lib/tmx-parser/sax_document.rb

Defined Under Namespace

Modules: TagNames Classes: BeginPair, Document, EndPair, Listener, Pair, Placeholder, PropertyValue, SaxDocument, Unit, Variant

Constant Summary collapse

VERSION =
'1.0.1'

Class Method Summary collapse

Class Method Details

.load(string_or_file_handle, encoding = Encoding.default_external) ⇒ Object



17
18
19
# File 'lib/tmx-parser.rb', line 17

def self.load(string_or_file_handle, encoding = Encoding.default_external)
  Document.new(string_or_file_handle, encoding)
end