Exception: Dry::Files::NotMemoryFileError

Inherits:
Error
  • Object
show all
Defined in:
lib/dry/files/error.rb

Overview

Not a memory file

Raised by the memory adapter (used for testing purposes)

Since:

  • 0.1.0

Instance Method Summary collapse

Constructor Details

#initialize(path) ⇒ NotMemoryFileError

Instantiate a new error

Parameters:

  • path (String)

    path name

Since:

  • 0.1.0



115
116
117
# File 'lib/dry/files/error.rb', line 115

def initialize(path)
  super("not a memory file `#{path}'")
end