class RDoc::Markup::AttrSpan

def [](n)

def [](n)
  @attrs[n]
end

def initialize(length)

def initialize(length)
  @attrs = Array.new(length, 0)
end

def set_attrs(start, length, bits)

Toggles +bits+ from +start+ to +length+
#
def set_attrs(start, length, bits)
  for i in start ... (start+length)
    @attrs[i] |= bits
  end
end