Sha256: 7d0b37d4a74cfa3190fa57a041fe9d6d9b14132902ff260d5ef6e304776823ca

Contents?: true

Size: 689 Bytes

Versions: 5

Compression:

Stored size: 689 Bytes

Contents

# encoding: UTF-8

require 'nokogiri'

module TmxParser
  autoload :Document,      'tmx-parser/document'
  autoload :SaxDocument,   'tmx-parser/sax_document'
  autoload :Listener,      'tmx-parser/listener'
  autoload :TagNames,      'tmx-parser/tag_names'
  autoload :Unit,          'tmx-parser/elements'
  autoload :PropertyValue, 'tmx-parser/elements'
  autoload :Variant,       'tmx-parser/elements'
  autoload :Placeholder,   'tmx-parser/elements'
  autoload :BeginPair,     'tmx-parser/elements'
  autoload :EndPair,       'tmx-parser/elements'

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

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
tmx-parser-2018-1.2 lib/tmx-parser-2018.rb
tmx-parser-2018-1.1.1 lib/tmx-parser-2018.rb
tmx-parser-2018-1.1.0 lib/tmx-parser.rb
tmx-parser-1.1.0 lib/tmx-parser.rb
tmx-parser-1.0.1 lib/tmx-parser.rb