Class: Groonga::Command::RubyEval

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

Overview

A command class that represents ruby_eval command.

Since:

  • 1.0.6

Instance Attribute Summary

Attributes inherited from Base

#arguments, #name, #original_format, #original_source, #path_prefix

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Base

#==, #[], #[]=, #command_format?, #initialize, #key?, #output_type, #to_command_format, #to_uri_format, #uri_format?

Constructor Details

This class inherits a constructor from Groonga::Command::Base

Class Method Details

.parameter_namesObject

Since:

  • 1.0.6



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

def parameter_names
  [
    :script,
  ]
end

Instance Method Details

#scriptString

Returns script parameter value.

Returns:

  • (String)

    script parameter value.

Since:

  • 1.0.6



39
40
41
# File 'lib/groonga/command/ruby-eval.rb', line 39

def script
  self[:script]
end