Method: RGL::Graph#to_s
- Defined in:
- lib/rgl/base.rb
#to_s ⇒ String
Utility method to show a string representation of the edges of the graph.
264 265 266 |
# File 'lib/rgl/base.rb', line 264 def to_s edges.collect {|e| e.to_s}.sort.join end |