Sha256: f0eb65cec4c7e1fd03f52b4b2a3736158ff41cf890776d9c6e923a80e52f496b

Contents?: true

Size: 484 Bytes

Versions: 2

Compression:

Stored size: 484 Bytes

Contents

module SGF
  class FileDoesNotExistError < StandardError ; end
  def self.parse(filename)
    SGF::Parser.new.parse File.read(filename)
  rescue Errno::ENOENT
    raise FileDoesNotExistError
  end

end

require_relative 'sgf/error'
require_relative 'sgf/version'
require_relative 'sgf/properties'
require_relative 'sgf/variation'
require_relative 'sgf/node'
require_relative 'sgf/collection'
require_relative 'sgf/parser'
require_relative 'sgf/gametree'
require_relative 'sgf/writer'

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
SgfParser-3.0.1 lib/sgf.rb
SgfParser-3.0.0 lib/sgf.rb