Exception: DataGraph::InaccessiblePathError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/data_graph/graph.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(paths) ⇒ InaccessiblePathError

Returns a new instance of InaccessiblePathError.



87
88
89
90
# File 'lib/data_graph/graph.rb', line 87

def initialize(paths)
  @paths = paths
  super "inaccesible: #{paths.inspect}"
end

Instance Attribute Details

#pathsObject (readonly)

Returns the value of attribute paths.



85
86
87
# File 'lib/data_graph/graph.rb', line 85

def paths
  @paths
end