Module: Dagnabit::Vertex::Activation

Defined in:
lib/dagnabit/vertex/activation.rb

Overview

This module provides a method to set up all of the Vertex modules in a class.

Instance Method Summary collapse

Instance Method Details

#acts_as_vertexObject

Sets up dagnabit’s vertex modules in a vertex class.



10
11
12
13
14
15
16
17
# File 'lib/dagnabit/vertex/activation.rb', line 10

def acts_as_vertex
  extend Associations
  extend Connectivity
  extend Settings

  include Bonding
  include Neighbors
end