class GraphElements::Vertex
Define abstract methods to Vertex
Attributes
attributes[RW]
The attributes of vertex
edges[RW]
The attributes of vertex
id[RW]
The attributes of vertex
type[RW]
The attributes of vertex
Public Class Methods
new(id, type, attributes)
click to toggle source
Public Instance Methods
==(other)
click to toggle source
Overriding equal method Returns NotImplementedError
# File lib/social_framework/graphs/graph_elements.rb, line 21 def ==(other) raise 'Must implement method in subclass' end
Also aliased as: eql?
add_edge(destiny, label = "")
click to toggle source
hash()
click to toggle source
Overriding hash method Returns NotImplementedError
# File lib/social_framework/graphs/graph_elements.rb, line 29 def hash raise 'Must implement method in subclass' end