Exception: Ruar::Error::FileNotFound
- Defined in:
- lib/ruar/error.rb
Instance Attribute Summary collapse
-
#path ⇒ Object
readonly
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(path) ⇒ FileNotFound
constructor
A new instance of FileNotFound.
Constructor Details
#initialize(path) ⇒ FileNotFound
Returns a new instance of FileNotFound.
11 12 13 14 |
# File 'lib/ruar/error.rb', line 11 def initialize(path) @path = path super(+"file does not exist in ruar -- #{path}") end |
Instance Attribute Details
#path ⇒ Object (readonly)
Returns the value of attribute path.
9 10 11 |
# File 'lib/ruar/error.rb', line 9 def path @path end |