Class: Groonga::Command::TableRemove
- Defined in:
- lib/groonga/command/table-remove.rb
Instance Attribute Summary
Attributes inherited from Base
#arguments, #command_name, #original_format, #original_source, #path_prefix
Class Method Summary collapse
Instance Method Summary collapse
-
#dependent? ⇒ Boolean
dependentparameter value. -
#name ⇒ String
nameparameter value.
Methods inherited from Base
#==, #[], #[]=, #command_format?, #initialize, #key?, #output_type, #request_id, #to_command_format, #to_uri_format, #uri_format?
Constructor Details
This class inherits a constructor from Groonga::Command::Base
Class Method Details
.parameter_names ⇒ Object
25 26 27 28 29 30 |
# File 'lib/groonga/command/table-remove.rb', line 25 def parameter_names [ :name, :dependent, ] end |
Instance Method Details
#dependent? ⇒ Boolean
Returns dependent parameter value.
43 44 45 |
# File 'lib/groonga/command/table-remove.rb', line 43 def dependent? self[:dependent] != "no" end |
#name ⇒ String
Returns name parameter value.
36 37 38 |
# File 'lib/groonga/command/table-remove.rb', line 36 def name self[:name] end |