class Groonga::Command::Truncate

Public Class Methods

command_name() click to toggle source
# File lib/groonga/command/truncate.rb, line 23
def command_name
  "truncate"
end
parameter_names() click to toggle source
# File lib/groonga/command/truncate.rb, line 27
def parameter_names
  [
    :target_name,
    :table,
  ]
end

Public Instance Methods

target_name() click to toggle source
# File lib/groonga/command/truncate.rb, line 37
def target_name
  @target_name ||= self[:target_name] || self[:table]
end