# File lib/rgl/base.rb, line 282 282: def in_degree (v) 283: r = 0; 284: each_in_neighbor(v) { |u| r += 1} 285: r 286: end