Flowdock
method

write_attribute_text

Importance_0
v1_9_1_378 - Show latest stable - 0 notes - Class: OverstrikeFormatter
write_attribute_text(prefix, line) public

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 352
  def write_attribute_text(prefix, line)
    @output.print prefix

    line.each do |achar|
      attr = achar.attr
      @output.print "_", BS if (attr & (ITALIC + CODE)) != 0
      @output.print achar.char, BS if (attr & BOLD) != 0
      @output.print achar.char
    end

    @output.puts
  end
Register or log in to add new notes.