From f5ac3ea6e7c75d744fcb8222675ff76f960a423a Mon Sep 17 00:00:00 2001 From: ko1 Date: Mon, 8 Sep 2014 07:08:00 +0000 Subject: [PATCH] * 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 --- ChangeLog | 5 +++++ benchmark/bm_app_lc_fizzbuzz.rb | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 35ebd9fcc0..ebac32ef32 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Mon Sep 8 16:04:02 2014 Koichi Sasada + + * benchmark/bm_app_lc_fizzbuzz.rb: `answer.to_a' does not return + a string, but an array. + Mon Sep 8 13:18:37 2014 Koichi Sasada * benchmark/bm_app_lc_fizzbuzz.rb: added. diff --git a/benchmark/bm_app_lc_fizzbuzz.rb b/benchmark/bm_app_lc_fizzbuzz.rb index 26283cc3f4..2c9a04987e 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