From ec31198cf2548f4fec36612454e1199737facf46 Mon Sep 17 00:00:00 2001 From: teks1 Date: Sat, 23 Jan 2016 23:32:47 +0200 Subject: [PATCH] t6 --- koodi.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/koodi.rb b/koodi.rb index 932f2b3..bff5250 100644 --- a/koodi.rb +++ b/koodi.rb @@ -1 +1,6 @@ # kirjoita koodi tänne +def monista(t) + t2 = t.map do |a| + a.to_s*a + end +end