Kosuke Asami
null+****@clear*****
Thu Jul 11 10:47:32 JST 2013
Kosuke Asami 2013-07-11 10:47:32 +0900 (Thu, 11 Jul 2013) New Revision: 9da792bbe25fdf62fd6085aae8c68907c360b75e https://github.com/groonga/fluent-plugin-droonga/commit/9da792bbe25fdf62fd6085aae8c68907c360b75e Message: Extract a method that parse flags from table_create params Modified files: lib/droonga/plugin/groonga/table_create.rb Modified: lib/droonga/plugin/groonga/table_create.rb (+5 -0) =================================================================== --- lib/droonga/plugin/groonga/table_create.rb 2013-07-09 17:28:06 +0900 (8d3a1b8) +++ lib/droonga/plugin/groonga/table_create.rb 2013-07-11 10:47:32 +0900 (5fbbbd9) @@ -35,6 +35,11 @@ module Droonga private def parse_request(request) + options = parse_flags(request) + options + end + + def parse_flags(request) options = {:type => :hash} if request["flags"] request["flags"].split(/\|/).each do |flag| -------------- next part -------------- HTML����������������������������...Download