Extended maintenance of Ruby 1.9.3 ended on February 23, 2015. Read more
Object
We manage a set of attributes. Each attribute has a symbol name and a bit value.
Special attribute type. See RDoc::Markup#add_special
Returns a string representation of bitmap
# File rdoc/markup/inline.rb, line 34
def self.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