module RGL::GraphIterator
A GraphIterator is the abstract basis for all Iterators on graphs. Each graph iterator should implement the protocol defined in module Stream.
Public Instance Methods
length()
click to toggle source
# File lib/rgl/graph_iterator.rb, line 14 def length inject(0) { |sum| sum + 1 } end