static public Method

Attribute.as_string(bitmap)

There's no documentation for this item.

Source Code

# 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
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.