Exception: Kstarv::NoSuchFile

Inherits:
StandardError
  • Object
show all
Defined in:
lib/kstarv.rb

Instance Method Summary collapse

Constructor Details

#initialize(path) ⇒ NoSuchFile

Returns a new instance of NoSuchFile.



6
7
8
# File 'lib/kstarv.rb', line 6

def initialize path
  @path = path
end

Instance Method Details

#messageObject



10
11
12
# File 'lib/kstarv.rb', line 10

def message
  "can not find #{@path}"
end