as_string(bitmap)
Returns a string representation of bitmap
# File lib/rdoc/markup/attributes.rb, line 45 def 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