Exception: S7n::NotExist
- Inherits:
-
ApplicationError
- Object
- StandardError
- ApplicationError
- S7n::NotExist
- Defined in:
- lib/s7n/exception.rb
Overview
ファイルやディレクトリが存在しないことを表現する例外クラス。
Instance Method Summary collapse
-
#initialize(path) ⇒ NotExist
constructor
A new instance of NotExist.
- #to_s ⇒ Object
Constructor Details
#initialize(path) ⇒ NotExist
Returns a new instance of NotExist.
31 32 33 |
# File 'lib/s7n/exception.rb', line 31 def initialize(path) @path = path end |
Instance Method Details
#to_s ⇒ Object
35 36 37 |
# File 'lib/s7n/exception.rb', line 35 def to_s return _("Does not exit: path=<%s>") % @path end |