class Sass::CSS

def attributes(rule)

def attributes(rule)
  while @template.scan(/[^:\}\s]+/)
    name = @template[0]
    whitespace
    assert_match /:/
    value = ''
    while @template.scan(/[^;\s\}]+/)
      value << @template[0] << whitespace
    end
    assert_match /(;|(?=\}))/
    rule << Tree::AttrNode.new(name, value, nil)
  end
  assert_match /\}/
end