This method is deprecated or moved on the latest stable version.
The last existing version (v2_2_9) is shown here.
as_string(bitmap)
public
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