[Groonga-commit] groonga/groonga [master] test: use attr_accessor instead of attr

Back to archive index

null+****@clear***** null+****@clear*****
2012年 5月 16日 (水) 17:06:04 JST


HAYASHI Kentaro	2012-05-16 17:06:04 +0900 (Wed, 16 May 2012)

  New Revision: e6fe962e2db1d7c402958b3767de768815c914ae

  Log:
    test: use attr_accessor instead of attr

  Modified files:
    test/function/tools/geo/generate-grntest-data.rb

  Modified: test/function/tools/geo/generate-grntest-data.rb (+2 -2)
===================================================================
--- test/function/tools/geo/generate-grntest-data.rb    2012-05-16 17:03:40 +0900 (bcfa515)
+++ test/function/tools/geo/generate-grntest-data.rb    2012-05-16 17:06:04 +0900 (1420ee4)
@@ -21,8 +21,8 @@ SELECT_PRE = "[[0,0.0,0.0],[[[1],[[\"_score\",\"Int32\"]],["
 SELECT_POST = "]]]]"
 
 class GrnTestData
-  attr :csv_file
-  attr :options
+  attr_accessor :csv_file
+  attr_accessor :options
 
   attr_accessor :longitude_start_degree
   attr_accessor :latitude_start_degree




Groonga-commit メーリングリストの案内
Back to archive index