summaryrefslogtreecommitdiff
path: root/benchmark
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-09-08 07:08:00 (GMT)
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-09-08 07:08:00 (GMT)
commitf5ac3ea6e7c75d744fcb8222675ff76f960a423a (patch)
treebb1c171c27835e8b28a1446fe03102221a970628 /benchmark
parent8d498680b764c2198963eb0e72bd83f561ee94d1 (diff)
* benchmark/bm_app_lc_fizzbuzz.rb: `answer.to_a' does not return
a string, but an array. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'benchmark')
-rw-r--r--benchmark/bm_app_lc_fizzbuzz.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/benchmark/bm_app_lc_fizzbuzz.rb b/benchmark/bm_app_lc_fizzbuzz.rb
index 26283cc..2c9a049 100644
--- a/benchmark/bm_app_lc_fizzbuzz.rb
+++ b/benchmark/bm_app_lc_fizzbuzz.rb
@@ -48,5 +48,5 @@ answer = to_array(solution).map do |p|
to_string(p)
end
-answer_str = answer.to_a
-# puts answer_str
+answer_ary = answer.to_a
+puts answer_ary