instance method String#times

View source on GitHub →

String#times(count) → String

Concatenates the string count times.

Example
"echo ".times(3);
// -> "echo echo echo "