Class: Neo4j::ActiveBase::SessionRegistry

Inherits:
Object
  • Object
show all
Extended by:
ActiveSupport::PerThreadRegistry
Defined in:
lib/neo4j/active_base/session_registry.rb

Overview

Provides a simple API to manage sessions in a thread-safe manner

Instance Attribute Summary collapse

Instance Attribute Details

#current_sessionObject

Returns the value of attribute current_session.



9
10
11
# File 'lib/neo4j/active_base/session_registry.rb', line 9

def current_session
  @current_session
end