class Tmxed::Parser::Json

Parses the JSON formatted output from Tiled.

Attributes

options[R]

Public Class Methods

new(options) click to toggle source
# File lib/tmxed/parsers/json.rb, line 10
def initialize(options)
  @options = options
end

Public Instance Methods

parse(contents) click to toggle source
# File lib/tmxed/parsers/json.rb, line 14
def parse(contents)
  JSON.parse(contents)
end