[Groonga-commit] groonga/groonga-test [master] logging -> logging?

Back to archive index

null+****@clear***** null+****@clear*****
2012年 3月 6日 (火) 16:33:24 JST


Kouhei Sutou	2012-03-06 16:33:24 +0900 (Tue, 06 Mar 2012)

  New Revision: be548efefcad24c118f75be638ff05f359bd1053

  Log:
    logging -> logging?

  Modified files:
    lib/groonga/tester.rb

  Modified: lib/groonga/tester.rb (+8 -2)
===================================================================
--- lib/groonga/tester.rb    2012-03-06 16:30:29 +0900 (aa122c0)
+++ lib/groonga/tester.rb    2012-03-06 16:33:24 +0900 (171ac42)
@@ -292,7 +292,8 @@ module Groonga
 
    class Executor
      class Context
-       attr_accessor :logging, :base_directory, :result
+       attr_writer :logging
+       attr_accessor :base_directory, :result
        def initialize
          @logging = true
          @base_directory = "."
@@ -300,6 +301,10 @@ module Groonga
          @result = []
        end
 
+       def logging?
+         @logging
+       end
+
        def execute
          @n_nested += 1
          yield
@@ -323,6 +328,7 @@ module Groonga
        end
      end
 
+     attr_reader :context
      def initialize(groonga, context=nil)
        @groonga = groonga
        @loading = false
@@ -460,7 +466,7 @@ module Groonga
      end
 
      def log(tag, content, options={})
-       return unles****@conte*****
+       return unles****@conte*****?
        return if content.empty?
        log_force(tag, content, options)
      end




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