mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
8d498680b7
commit
f5ac3ea6e7
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Mon Sep 8 16:04:02 2014 Koichi Sasada <ko1@atdot.net>
|
||||||
|
|
||||||
|
* 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 <ko1@atdot.net>
|
Mon Sep 8 13:18:37 2014 Koichi Sasada <ko1@atdot.net>
|
||||||
|
|
||||||
* benchmark/bm_app_lc_fizzbuzz.rb: added.
|
* benchmark/bm_app_lc_fizzbuzz.rb: added.
|
||||||
|
|
|
@ -48,5 +48,5 @@ answer = to_array(solution).map do |p|
|
||||||
to_string(p)
|
to_string(p)
|
||||||
end
|
end
|
||||||
|
|
||||||
answer_str = answer.to_a
|
answer_ary = answer.to_a
|
||||||
# puts answer_str
|
puts answer_ary
|
||||||
|
|
Loading…
Reference in a new issue