class Sass::Tree::Node

def balance(*args)

Raises:
  • (Sass::SyntaxError) - if the brackets aren't balanced

Other tags:
    See: Haml::Shared.balance -
def balance(*args)
  res = Haml::Shared.balance(*args)
  return res if res
  raise Sass::SyntaxError.new("Unbalanced brackets.", line)
end