[前][次][番号順一覧][スレッド一覧]

ruby-changes:35367

From: ko1 <ko1@a...>
Date: Mon, 8 Sep 2014 16:08:14 +0900 (JST)
Subject: [ruby-changes:35367] ko1:r47449 (trunk): * benchmark/bm_app_lc_fizzbuzz.rb: `answer.to_a' does not return

ko1	2014-09-08 16:08:00 +0900 (Mon, 08 Sep 2014)

  New Revision: 47449

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=47449

  Log:
    * benchmark/bm_app_lc_fizzbuzz.rb: `answer.to_a' does not return
      a string, but an array.

  Modified files:
    trunk/ChangeLog
    trunk/benchmark/bm_app_lc_fizzbuzz.rb
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 47448)
+++ ChangeLog	(revision 47449)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Mon Sep  8 16:04:02 2014  Koichi Sasada  <ko1@a...>
+
+	* 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@a...>
 
 	* benchmark/bm_app_lc_fizzbuzz.rb: added.
Index: benchmark/bm_app_lc_fizzbuzz.rb
===================================================================
--- benchmark/bm_app_lc_fizzbuzz.rb	(revision 47448)
+++ benchmark/bm_app_lc_fizzbuzz.rb	(revision 47449)
@@ -48,5 +48,5 @@ answer = to_array(solution).map do |p| https://github.com/ruby/ruby/blob/trunk/benchmark/bm_app_lc_fizzbuzz.rb#L48
   to_string(p)
 end
 
-answer_str = answer.to_a
-# puts answer_str
+answer_ary = answer.to_a
+puts answer_ary

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]