Exception: JetBlack::InvalidPathError
- Defined in:
- lib/jet_black/errors.rb
Instance Attribute Summary collapse
-
#expanded_path ⇒ Object
readonly
Returns the value of attribute expanded_path.
-
#raw_path ⇒ Object
readonly
Returns the value of attribute raw_path.
Instance Method Summary collapse
-
#initialize(raw_path, expanded_path) ⇒ InvalidPathError
constructor
A new instance of InvalidPathError.
Constructor Details
#initialize(raw_path, expanded_path) ⇒ InvalidPathError
Returns a new instance of InvalidPathError.
10 11 12 13 14 15 16 17 18 19 |
# File 'lib/jet_black/errors.rb', line 10 def initialize(raw_path, ) @raw_path = raw_path @expanded_path = super <<~MSG Please specify a relative path within the temp dir. Raw path: '#{raw_path}' Expanded path: '#{}' MSG end |
Instance Attribute Details
#expanded_path ⇒ Object (readonly)
Returns the value of attribute expanded_path.
8 9 10 |
# File 'lib/jet_black/errors.rb', line 8 def @expanded_path end |
#raw_path ⇒ Object (readonly)
Returns the value of attribute raw_path.
8 9 10 |
# File 'lib/jet_black/errors.rb', line 8 def raw_path @raw_path end |