class Groonga::Command::Normalize

A command class that represents `normalize` command.

@since 1.0.6

Public Class Methods

command_name() click to toggle source
# File lib/groonga/command/normalize.rb, line 27
def command_name
  "normalize"
end
parameter_names() click to toggle source
# File lib/groonga/command/normalize.rb, line 31
def parameter_names
  [
    :normalizer,
    :string,
    :flags,
  ]
end

Public Instance Methods

flags() click to toggle source

@return [Array<String>] An array of flags specified in `flags`

parameter value. This array is extracted by parsing `flags`
parameter value. If `flags` parameter value is nil or empty,
an empty array is returned.

@since 1.0.6

# File lib/groonga/command/normalize.rb, line 60
def flags
  @flags ||= flags_value(:flags)
end
normalizer() click to toggle source

@return [String] `normalizer` parameter value. @since 1.0.6

# File lib/groonga/command/normalize.rb, line 44
def normalizer
  self[:normalizer]
end
string() click to toggle source

@return [String] `string` parameter value. @since 1.0.6

# File lib/groonga/command/normalize.rb, line 50
def string
  self[:string]
end