class IO::Endpoint::Generic

def each

@parameter endpoint [Endpoint] The endpoint.
@yields {|endpoint| ...} A block which will be passed each endpoint.
Enumerate all discrete paths as endpoints.
def each
	return to_enum unless block_given?
	
	yield self
end