Class: Groonga::Command::RubyEval
- Defined in:
- lib/groonga/command/ruby-eval.rb
Overview
A command class that represents ruby_eval
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
-
#script ⇒ String
script
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
28 29 30 |
# File 'lib/groonga/command/ruby-eval.rb', line 28 def command_name "ruby_eval" end |
.parameter_names ⇒ Object
32 33 34 35 36 |
# File 'lib/groonga/command/ruby-eval.rb', line 32 def parameter_names [ :script, ] end |
Instance Method Details
#script ⇒ String
Returns script
parameter value.
43 44 45 |
# File 'lib/groonga/command/ruby-eval.rb', line 43 def script self[:script] end |