Exception: Staticky::Files::NotMemoryFileError

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

Overview

Not a memory file

Raised by the memory adapter (used for testing purposes)

Instance Method Summary collapse

Constructor Details

#initialize(path) ⇒ NotMemoryFileError

Instantiate a new error

Parameters:

  • path (String)

    path name



79
80
81
# File 'lib/staticky/files/error.rb', line 79

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