class Mustache::Context
def mustache_in_stack
Find the first Mustache in the stack. If we're being rendered
def mustache_in_stack @stack.detect { |frame| frame.is_a?(Mustache) } end
def mustache_in_stack @stack.detect { |frame| frame.is_a?(Mustache) } end