Module: ActiveGraph::Shared::Initialize

Extended by:
ActiveSupport::Concern
Included in:
Node::Initialize, Relationship::Initialize
Defined in:
lib/active_graph/shared/initialize.rb

Instance Method Summary collapse

Instance Method Details

#wrapperObject

Implements the ActiveGraph::Node#wrapper and ActiveGraph::Relationship#wrapper method so that we don't have to care if the node is wrapped or not.

Returns:

  • self



8
9
10
# File 'lib/active_graph/shared/initialize.rb', line 8

def wrapper
  self
end