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