class GraphElements::Edge

Define abstract methods to Vertex

Attributes

destiny[RW]
labels[RW]
origin[RW]

Public Class Methods

new(origin, destiny) click to toggle source

Constructor to Edge

Params:
origin

Vertex relationship origin

destiny

Vertex relationship destiny

Returns NotImplementedError

# File lib/social_framework/graphs/graph_elements.rb, line 99
def initialize origin, destiny
  raise 'Must implement method in subclass'
end