Exception: Ruar::Error::FailedToEval

Inherits:
BaseError
  • Object
show all
Defined in:
lib/ruar/error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(path) ⇒ FailedToEval

Returns a new instance of FailedToEval.



20
21
22
23
# File 'lib/ruar/error.rb', line 20

def initialize(path)
  @path = path
  super(+"ruar failed to eval -- #{path}")
end

Instance Attribute Details

#pathObject (readonly)

Returns the value of attribute path.



18
19
20
# File 'lib/ruar/error.rb', line 18

def path
  @path
end