We manage a set of attributes. Each attribute has a symbol name and a bit value
# File rdoc/markup/simple_markup/inline.rb, line 22
def Attribute.as_string(bitmap)
return "none" if bitmap.zero?
res = []
@@name_to_bitmap.each do |name, bit|
res << name if (bitmap & bit) != 0
end
res.join(",")
end