Exception: Siding::Runtime::Unavailable

Inherits:
Error
  • Object
show all
Defined in:
lib/siding/runtime.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, path: nil) ⇒ Unavailable

Returns a new instance of Unavailable.



22
23
24
25
# File 'lib/siding/runtime.rb', line 22

def initialize(message, path: nil)
  @path = path
  super(message)
end

Instance Attribute Details

#pathObject (readonly)

Returns the value of attribute path.



20
21
22
# File 'lib/siding/runtime.rb', line 20

def path
  @path
end