Skip to Content Skip to Search
Methods
N
P

Attributes

[R] current_attributes_instances
[R] store

Class Public methods

new()

# File activesupport/lib/active_support/execution_context.rb, line 8
def initialize
  @store = {}
  @current_attributes_instances = {}
  @stack = []
end

Instance Public methods

pop()

# File activesupport/lib/active_support/execution_context.rb, line 21
def pop
  @current_attributes_instances = @stack.pop
  @store = @stack.pop
  self
end

push()

# File activesupport/lib/active_support/execution_context.rb, line 14
def push
  @stack << @store << @current_attributes_instances
  @store = {}
  @current_attributes_instances = {}
  self
end