module Potatochop
  class FileSystemInterface
    attr_reader :source

    def initialize(source)
      @source = source
    end
    
    def exists?(file_name)
      file_path = File.join(@source, file_name)
      File.exists? file_path
    end
    
    def read(file_name)
      file_path = File.join(@source, file_name)
      File.read(file_path)
    end
  end
end
module Potatochop
  class FileSystemInterface
    attr_reader :source

    def initialize(source, options = {})
      @source = source
    end
    
    def exists?(file_name)
      file_path = File.join(@source, file_name)
      File.exists? file_path
    end
    
    def read(file_name)
      file_path = File.join(@source, file_name)
      File.read(file_path)
    end
  end
end
Add optional options param to the FileSystemInterface initializer (it helps with integration)
Add optional options param to the FileSystemInterface initializer (it helps with integration)
