Kouhei Sutou
null+****@clear*****
Thu Jan 16 15:53:40 JST 2014
Kouhei Sutou 2014-01-16 15:53:40 +0900 (Thu, 16 Jan 2014) New Revision: 961dc670269fe718ac82abc434eb7d62c0e37481 https://github.com/droonga/droonga-client-ruby/commit/961dc670269fe718ac82abc434eb7d62c0e37481 Message: Support options Modified files: lib/droonga/client.rb Modified: lib/droonga/client.rb (+2 -2) =================================================================== --- lib/droonga/client.rb 2014-01-16 15:47:44 +0900 (a98f2d7) +++ lib/droonga/client.rb 2014-01-16 15:53:40 +0900 (32179ad) @@ -59,11 +59,11 @@ module Droonga @connection = Connection::DroongaProtocol.new(options) end - def shuttle(message, &block) + def shuttle(message, options={}, &block) @connection.shuttle(message, &block) end - def search(body, &block) + def search(body, options={}, &block) shuttle({ "id" => Time.now.to_f.to_s, "date" => Time.now, -------------- next part -------------- HTML����������������������������... Descargar