Method: SimpleGraph::Graph#initialize
- Defined in:
- lib/simple-graph.rb
#initialize ⇒ Graph
Returns a new instance of Graph.
21 22 23 |
# File 'lib/simple-graph.rb', line 21 def initialize @vertices = {} end |
Returns a new instance of Graph.
21 22 23 |
# File 'lib/simple-graph.rb', line 21 def initialize @vertices = {} end |