How to create the repeat method:

[:one, "two", 3].repeat(3)

Result:

[:one, :one, :one, "two", "two", "two", 3, 3, 3]

Thanks.
-- 
Posted via http://www.ruby-forum.com/.