Exception: ActiveGroonga::DuplicateMigrationVersionError
- Defined in:
- lib/active_groonga/migrator.rb
Overview
:nodoc:
Instance Attribute Summary collapse
-
#path ⇒ Object
readonly
Returns the value of attribute path.
-
#version ⇒ Object
readonly
Returns the value of attribute version.
Instance Method Summary collapse
-
#initialize(version, path) ⇒ DuplicateMigrationVersionError
constructor
A new instance of DuplicateMigrationVersionError.
Constructor Details
#initialize(version, path) ⇒ DuplicateMigrationVersionError
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
#path ⇒ Object (readonly)
Returns the value of attribute path.
18 19 20 |
# File 'lib/active_groonga/migrator.rb', line 18 def path @path end |
#version ⇒ Object (readonly)
Returns the value of attribute version.
18 19 20 |
# File 'lib/active_groonga/migrator.rb', line 18 def version @version end |