Sha256: 68d02e5281a06d982ea02fb67b164bb746b75ed347b673efe1cfa88d7dd49baa

Contents?: true

Size: 500 Bytes

Versions: 1

Compression:

Stored size: 500 Bytes

Contents

module Autorespawn
    # Exception raised when a path cannot be resolved to a file on disk
    class FileNotFound < RuntimeError
        # @return [Pathname] the path to resolve
        attr_reader :path
        # @return [Array<Pathname>] the search path that was provided to resolve
        #   {#path}. It is always empty if {#path} is absolute
        attr_reader :search_path

        def initialize(path, search_path)
            @path, @search_path = path, search_path
        end
    end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
autorespawn-0.1.0 lib/autorespawn/exceptions.rb