[Groonga-commit] ranguba/rroonga at d40b979 [master] Fix indent

Back to archive index

Kouhei Sutou null+****@clear*****
Fri Feb 21 16:46:50 JST 2014


Kouhei Sutou	2014-02-21 16:46:50 +0900 (Fri, 21 Feb 2014)

  New Revision: d40b97994359bc3718534945216cb3c553aea088
  https://github.com/ranguba/rroonga/commit/d40b97994359bc3718534945216cb3c553aea088

  Message:
    Fix indent

  Modified files:
    lib/groonga/dumper.rb

  Modified: lib/groonga/dumper.rb (+10 -6)
===================================================================
--- lib/groonga/dumper.rb    2014-02-21 16:42:09 +0900 (c1dc5f1)
+++ lib/groonga/dumper.rb    2014-02-21 16:46:50 +0900 (4b573d0)
@@ -460,9 +460,11 @@ module Groonga
         name = column.local_name
         reference = column.range
         options = column_options(column)
-        arguments = [dump_object(name),
-                     dump_object(reference.name),
-                     options].compact.join(", ")
+        arguments = [
+          dump_object(name),
+          dump_object(reference.name),
+          options,
+        ].compact.join(", ")
         write("  table.reference(#{arguments})\n")
       end
 
@@ -483,9 +485,11 @@ module Groonga
         options[:with_section]  = true if column.with_section?
         options[:with_weight]   = true if column.with_weight?
         options[:with_position] = true if column.with_position?
-        arguments = [dump_object(target_table_name),
-                     sources.size == 1 ? source_names : "[#{source_names}]",
-                     dump_options(options)]
+        arguments = [
+          dump_object(target_table_name),
+          sources.size == 1 ? source_names : "[#{source_names}]",
+          dump_options(options),
+        ]
         write("  table.index(#{arguments.join(', ')})\n")
       end
 
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index