Exception: ActiveGroonga::NoKeyTableError
- Defined in:
- lib/active_groonga/error.rb
Instance Attribute Summary collapse
-
#table ⇒ Object
readonly
Returns the value of attribute table.
Instance Method Summary collapse
-
#initialize(table) ⇒ NoKeyTableError
constructor
A new instance of NoKeyTableError.
Constructor Details
#initialize(table) ⇒ NoKeyTableError
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
#table ⇒ Object (readonly)
Returns the value of attribute table.
25 26 27 |
# File 'lib/active_groonga/error.rb', line 25 def table @table end |