Class: Droonga::Plugins::Groonga::TableRemove::Command
- Inherits:
-
GenericCommand
- Object
- GenericCommand
- Droonga::Plugins::Groonga::TableRemove::Command
- Defined in:
- lib/droonga/plugins/groonga/table_remove.rb
Instance Method Summary collapse
Methods inherited from GenericCommand
Constructor Details
This class inherits a constructor from Droonga::Plugins::Groonga::GenericCommand
Instance Method Details
#process_request(request) ⇒ Object
26 27 28 29 30 31 32 33 34 35 36 |
# File 'lib/droonga/plugins/groonga/table_remove.rb', line 26 def process_request(request) command_class = ::Groonga::Command.find("table_remove") @command = command_class.new("table_remove", request) name = valid_table_name("name", :error_result => false) ::Groonga::Schema.define(:context => @context) do |schema| schema.remove_table(name) end true end |