lib/crossyglot/formats/jpz.rb
# Parses a puzzle from the IO object given.
#
# @param [String, IO] path_or_io The path on disk of the puzzle or a subclass of IO containing
#                                the puzzle data
# @options [Hash] options Options Does nothing for this class
# @returns self
Parses a puzzle from the IO object given.
Parses a puzzle from the IO object given .
def parse_file(path, options={})
        File.open(path) do |puzfile|
          parse_io(puzfile, options)
        end
      end
def parse_file ( path , options = { } ) File . open ( path ) do | puzfile | parse_io ( puzfile , options ) end end
Parses a puzzle from the IO object given.
Parses a puzzle from the IO object given .
None
path
options
path_or_io The path on disk of the puzzle or a subclass of IO containing the puzzle data
path_or_io The path on disk of the puzzle or a subclass of IO containing the puzzle data
options
[Hash] options Options Does nothing for this class
[ Hash ] options Options Does nothing for this class