module Haml::Precompiler
def parse_attributes(line)
def parse_attributes(line) scanner = StringScanner.new(line) attributes_hash, rest = balance(scanner, ?{, ?}) attributes_hash = attributes_hash[1...-1] if attributes_hash return attributes_hash, rest end