Exception: Grntest::NotExist

Inherits:
Error
  • Object
show all
Defined in:
lib/grntest/error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(path) ⇒ NotExist

Returns a new instance of NotExist.



24
25
26
27
# File 'lib/grntest/error.rb', line 24

def initialize(path)
  @path = path
  super("<#{path}> doesn't exist.")
end

Instance Attribute Details

#pathObject (readonly)

Returns the value of attribute path.



23
24
25
# File 'lib/grntest/error.rb', line 23

def path
  @path
end