Flowdock
method

update_attributes

Importance_0
v1_8_7_330 - Show latest stable - 0 notes - Class: RI::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/ri_formatter.rb, line 453
    def update_attributes(attr)
      str = "\033["
      for quality in [ BOLD, ITALIC, CODE]
        unless (attr & quality).zero?
          str << ATTR_MAP[quality]
        end
      end
      print str, "m"
    end
Register or log in to add new notes.