# File lib/test/unit/diff.rb, line 379 def [](*args) result = @characters[*args] if result.respond_to?(:pack) result.pack("U*") else result end end
# File lib/test/unit/diff.rb, line 400 def compute_width(start, _end) width = 0 start.upto(_end - 1) do |i| if self.class.wide_character?(@characters[i]) width += 2 else width += 1 end end width end
Generated with the Darkfish Rdoc Generator 2.