Exception: ActiveGroonga::DuplicateMigrationVersionError — activegroonga - Ranguba

Exception: ActiveGroonga::DuplicateMigrationVersionError

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

Overview

:nodoc:

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Constructor Details

- (DuplicateMigrationVersionError) initialize(version, path)

Returns a new instance of DuplicateMigrationVersionError



19
20
21
22
23
# File 'lib/active_groonga/migrator.rb', line 19

def initialize(version, path)
  @version = version
  @path = path
  super("duplicated migration version exists: #{version}: <#{@path}>")
end

Instance Attribute Details

- (Object) path (readonly)

Returns the value of attribute path



18
19
20
# File 'lib/active_groonga/migrator.rb', line 18

def path
  @path
end

- (Object) version (readonly)

Returns the value of attribute version



18
19
20
# File 'lib/active_groonga/migrator.rb', line 18

def version
  @version
end