method

update_attributes

Importance_0
v1_9_1_378 - Show latest stable - 0 notes - Class: AnsiFormatter
update_attributes(attr) private

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/rdoc/ri/formatter.rb, line 429
  def update_attributes(attr)
    str = "\0033["
    for quality in [ BOLD, ITALIC, CODE]
      unless (attr & quality).zero?
        str << ATTR_MAP[quality]
      end
    end
    @output.print str, "m"
  end
Register or log in to add new notes.