Exception: MasterView::InvalidDirectivePathError

Inherits:
InvalidPathError show all
Defined in:
lib/masterview/directive_load_path.rb

Overview

An InvalidPathError that is raised when an invalid directory path is encountered on the directive load path.

Instance Method Summary collapse

Methods inherited from InvalidPathError

#path

Constructor Details

#initialize(dpe, err_msg) ⇒ InvalidDirectivePathError

Returns a new instance of InvalidDirectivePathError.



15
16
17
18
# File 'lib/masterview/directive_load_path.rb', line 15

def initialize( dpe, err_msg )
  super(dpe.dir_path, err_msg)
  @dpe = dpe
end

Instance Method Details

#path_entryObject

the directive load path entry containing the invalid directory path



11
12
13
# File 'lib/masterview/directive_load_path.rb', line 11

def path_entry
  @dpe || nil
end