Module: ActiveSupport::IsolatedExecutionState
- Defined in:
- lib/active_support/isolated_execution_state.rb
Overview
:nodoc:
Class Attribute Summary collapse
-
.isolation_level ⇒ Object
Returns the value of attribute isolation_level.
Instance Attribute Summary collapse
-
#active_support_execution_state ⇒ Object
Returns the value of attribute active_support_execution_state.
Class Method Summary collapse
Class Attribute Details
.isolation_level ⇒ Object
Returns the value of attribute isolation_level.
13 14 15 |
# File 'lib/active_support/isolated_execution_state.rb', line 13 def isolation_level @isolation_level end |
Instance Attribute Details
#active_support_execution_state ⇒ Object
Returns the value of attribute active_support_execution_state.
9 10 11 |
# File 'lib/active_support/isolated_execution_state.rb', line 9 def active_support_execution_state @active_support_execution_state end |
Class Method Details
.[](key) ⇒ Object
32 33 34 |
# File 'lib/active_support/isolated_execution_state.rb', line 32 def [](key) current[key] end |
.[]=(key, value) ⇒ Object
36 37 38 |
# File 'lib/active_support/isolated_execution_state.rb', line 36 def []=(key, value) current[key] = value end |
.clear ⇒ Object
40 41 42 |
# File 'lib/active_support/isolated_execution_state.rb', line 40 def clear current.clear end |