Exception: JetBlack::InvalidPathError

Inherits:
Error
  • Object
show all
Defined in:
lib/jet_black/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(raw_path, expanded_path) ⇒ InvalidPathError



8
9
10
11
12
13
14
15
16
17
# File 'lib/jet_black/errors.rb', line 8

def initialize(raw_path, expanded_path)
  @raw_path = raw_path
  @expanded_path = expanded_path

  super <<~MSG
    Please specify a relative path within the temp dir.
    Raw path: '#{raw_path}'
    Expanded path: '#{expanded_path}'
  MSG
end

Instance Attribute Details

#expanded_pathObject (readonly)

Returns the value of attribute expanded_path.



6
7
8
# File 'lib/jet_black/errors.rb', line 6

def expanded_path
  @expanded_path
end

#raw_pathObject (readonly)

Returns the value of attribute raw_path.



6
7
8
# File 'lib/jet_black/errors.rb', line 6

def raw_path
  @raw_path
end