class Haml::Compiler::ChildrenCompiler
def find_else_index(temple)
def find_else_index(temple) multi, *args = temple return nil if multi != :multi args.each_with_index do |arg, index| if arg[0] == :code && arg[1].match?(/\A\s*else\s*\z/) return index + 1 end end nil end