# File lib/puppet/simple_graph.rb, line 49 49: def has_edge?(direction, vertex) 50: return true if vertex_adjacencies(direction, vertex).length > 0 51: return false 52: end