Class: Groonga::Command::IOFlush
- Defined in:
- lib/groonga/command/io-flush.rb
Overview
A command class that represents io_flush
command.
Instance Attribute Summary
Attributes inherited from Base
#arguments, #command_name, #original_format, #original_source, #path_prefix
Class Method Summary collapse
Instance Method Summary collapse
-
#recursive? ⇒ Boolean
recursive
parameter value. -
#target_name ⇒ String
target_name
parameter value.
Methods inherited from Base
#==, #[], #[]=, #command_format?, #initialize, #key?, #name, #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
.command_name ⇒ Object
26 27 28 |
# File 'lib/groonga/command/io-flush.rb', line 26 def command_name "io_flush" end |
.parameter_names ⇒ Object
30 31 32 33 34 35 |
# File 'lib/groonga/command/io-flush.rb', line 30 def parameter_names [ :target_name, :recursive, ] end |
Instance Method Details
#recursive? ⇒ Boolean
Returns recursive
parameter value.
50 51 52 |
# File 'lib/groonga/command/io-flush.rb', line 50 def recursive? self[:recursive] != "no" end |
#target_name ⇒ String
Returns target_name
parameter value.
43 44 45 |
# File 'lib/groonga/command/io-flush.rb', line 43 def target_name self[:target_name] end |