module Stache::ViewContext
Public Class Methods
current()
click to toggle source
# File lib/stache/view_context.rb, line 3 def self.current Thread.current[:current_view_context] end
current=(input)
click to toggle source
# File lib/stache/view_context.rb, line 7 def self.current=(input) Thread.current[:current_view_context] = input end