class GroongaSchema::Plugin

Attributes

name[R]

Public Class Methods

new(name) click to toggle source
# File lib/groonga-schema/plugin.rb, line 22
def initialize(name)
  @name = name
end

Public Instance Methods

==(other) click to toggle source
# File lib/groonga-schema/plugin.rb, line 26
def ==(other)
  return false unless other.is_a?(self.class)

  @name == other.name
end
to_register_groonga_command() click to toggle source
# File lib/groonga-schema/plugin.rb, line 32
def to_register_groonga_command
  Groonga::Command::PluginRegister.new(:name => @name)
end
to_unregister_groonga_command() click to toggle source
# File lib/groonga-schema/plugin.rb, line 36
def to_unregister_groonga_command
  Groonga::Command::PluginUnregister.new(:name => @name)
end