Class: Groonga::Command::ConfigGet

Inherits:
Base
  • Object
show all
Defined in:
lib/groonga/command/config-get.rb

Overview

A command class that represents config_get command.

Since:

  • 1.1.5

Instance Attribute Summary

Attributes inherited from Base

#arguments, #command_name, #original_format, #original_source, #path_prefix

Class Method Summary collapse

Instance Method Summary collapse

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_nameObject

Since:

  • 1.1.5



26
27
28
# File 'lib/groonga/command/config-get.rb', line 26

def command_name
  "config_get"
end

.parameter_namesObject

Since:

  • 1.1.5



30
31
32
33
34
# File 'lib/groonga/command/config-get.rb', line 30

def parameter_names
  [
    :key,
  ]
end

Instance Method Details

#keyString

Returns key parameter value.

Returns:

  • (String)

    key parameter value.

Since:

  • 1.1.4



42
43
44
# File 'lib/groonga/command/config-get.rb', line 42

def key
  self[:key]
end