Source: show | on GitHub
# File activesupport/lib/active_support/execution_context.rb, line 8 def initialize @store = {} @current_attributes_instances = {} @stack = [] end
# File activesupport/lib/active_support/execution_context.rb, line 21 def pop @current_attributes_instances = @stack.pop @store = @stack.pop self end
# File activesupport/lib/active_support/execution_context.rb, line 14 def push @stack << @store << @current_attributes_instances @store = {} @current_attributes_instances = {} self end