Maintenance of Ruby 2.0.0 ended on February 24, 2016. Read more
Object
An array of attributes which parallels the characters in a string.
Creates a new AttrSpan for length
characters
# File rdoc/markup/attr_span.rb, line 9 def initialize(length) @attrs = Array.new(length, 0) end