public Method

AttributeManager.changed_attribute_by_name(current_set, new_set)

There's no documentation for this item.

Source Code

# File rdoc/markup/simple_markup/inline.rb, line 132
def changed_attribute_by_name(current_set, new_set)
  current = new = 0
  current_set.each {|name| current |= Attribute.bitmap_for(name) }
  new_set.each {|name| new |= Attribute.bitmap_for(name) }
  change_attribute(current, new)
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.