# File lib/main/base.rb, line 131 def context &block @@context ||= [] unless block @@context.last else begin @@context.push self block.call @@context.last ensure @@context.pop end end end