Exception: S7::NotExist

Inherits:
ApplicationError show all
Defined in:
lib/s7/exception.rb

Overview

ファイルやディレクトリが存在しないことを表現する例外クラス。

Instance Method Summary collapse

Methods included from GetText

#N_, #_, bindtextdomain, included

Constructor Details

#initialize(path) ⇒ NotExist

Returns a new instance of NotExist.



31
32
33
# File 'lib/s7/exception.rb', line 31

def initialize(path)
  @path = path
end

Instance Method Details

#to_sObject



35
36
37
# File 'lib/s7/exception.rb', line 35

def to_s
  return _("Does not exit: path=<%s>") % @path
end