Methods

Attributes

[R] current_attributes_instances
[R] store

Class Public methods

new()

📝 Source code
# File activesupport/lib/active_support/execution_context.rb, line 8
      def initialize
        @store = {}
        @current_attributes_instances = {}
        @stack = []
      end
🔎 See on GitHub

Instance Public methods

pop()

📝 Source code
# File activesupport/lib/active_support/execution_context.rb, line 21
      def pop
        @current_attributes_instances = @stack.pop
        @store = @stack.pop
        self
      end
🔎 See on GitHub

push()

📝 Source code
# File activesupport/lib/active_support/execution_context.rb, line 14
      def push
        @stack << @store << @current_attributes_instances
        @store = {}
        @current_attributes_instances = {}
        self
      end
🔎 See on GitHub