class Tmx::Parser::Unknown
The Unknown
Parser
is used to generate an error when the format is not supported or unknown.
Attributes
options[R]
Public Class Methods
new(options)
click to toggle source
# File lib/tmx/parsers/unknown.rb, line 11 def initialize(options) @options = options end
Public Instance Methods
parse(contents)
click to toggle source
# File lib/tmx/parsers/unknown.rb, line 15 def parse(contents) raise "Unknown Parser Type: Could not find an available parser for format #{options[:format]}" end