Exception: ActiveGroonga::NoKeyTableError — activegroonga - ラングバ

Exception: ActiveGroonga::NoKeyTableError

Inherits:
Error
  • Object
show all
Defined in:
lib/active_groonga/error.rb

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Constructor Details

- (NoKeyTableError) initialize(table)

Returns a new instance of NoKeyTableError



26
27
28
29
# File 'lib/active_groonga/error.rb', line 26

def initialize(table)
  @table = table
  super("table doesn't have key: #{@table}")
end

Instance Attribute Details

- (Object) table (readonly)

Returns the value of attribute table



25
26
27
# File 'lib/active_groonga/error.rb', line 25

def table
  @table
end