self is appended in such a way that self is repeated r times

var b = new Buffer
b.append "hello"
b.times 3
assert b == "hellohellohello"

Property definitions

core $ Buffer :: times
	# `self` is appended in such a way that `self` is repeated `r` times
	#
	# ~~~
	# var b = new Buffer
	# b.append "hello"
	# b.times 3
	# assert b == "hellohellohello"
	# ~~~
	fun times(r: Int) is abstract
lib/core/text/abstract_text.nit:1589,2--1597,30

core $ FlatBuffer :: times
	redef fun times(repeats)
	do
		var bln = _byte_length
		var x = new FlatString.full(_items, bln, 0, _length)
		for i in [1 .. repeats[ do
			append(x)
		end
	end
lib/core/text/flat.nit:1143,2--1150,4