lib/crossyglot/formats/puz.rb
def parse_file(path, options={})
        File.open(path, 'rb:ASCII-8BIT') do |puzfile|
          parse_io(puzfile, options)
        end
      end
# Parses a puzzle from the IO object given.
#
# @param [String] path The path of the file
# @options [Hash] options Options for parsing. Includes:
#                         * :strict - if set to true, file checksums will be validated and an
#                                     exception will be raised if the do no match
# @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, 'rb:ASCII-8BIT') do |puzfile|
          parse_io(puzfile, options)
        end
      end
def parse_file ( path , options = { } ) File . open ( path , 'rb:ASCII-8BIT' ) 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 The path of the file
path The path of the file
options
[Hash] options Options for parsing. Includes: * :strict - if set to true, file checksums will be validated and an exception will be raised if the do no match
[ Hash ] options Options for parsing . Includes : * : strict - if set to true file checksums will be validated and an exception will be raised if the do no match