An array of attributes which parallels the characters in a string.

Methods
#
N
S
Class Public methods
new(length)

Creates a new AttrSpan for length characters

# File ../ruby/lib/rdoc/markup/inline.rb, line 82
def initialize(length)
  @attrs = Array.new(length, 0)
end
Instance Public methods
[](n)

Accesses flags for character n

# File ../ruby/lib/rdoc/markup/inline.rb, line 97
def [](n)
  @attrs[n]
end
set_attrs(start, length, bits)

Toggles bits from start to length

# File ../ruby/lib/rdoc/markup/inline.rb, line 88
def set_attrs(start, length, bits)
  for i in start ... (start+length)
    @attrs[i] |= bits
  end
end