Class: Groonga::Command::RubyLoad

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

Overview

A command class that represents ruby_load command.

Since:

  • 1.0.6

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.0.6



28
29
30
# File 'lib/groonga/command/ruby-load.rb', line 28

def command_name
  "ruby_load"
end

.parameter_namesObject

Since:

  • 1.0.6



32
33
34
35
36
# File 'lib/groonga/command/ruby-load.rb', line 32

def parameter_names
  [
    :path,
  ]
end

Instance Method Details

#pathString

Returns path parameter value.

Returns:

  • (String)

    path parameter value.

Since:

  • 1.0.6



43
44
45
# File 'lib/groonga/command/ruby-load.rb', line 43

def path
  self[:path]
end