Exception: ActiveGroonga::DuplicateMigrationVersionError
- Inherits:
- 
      Error
      
        - Object
- StandardError
- Error
- ActiveGroonga::DuplicateMigrationVersionError
 
- Defined in:
- lib/active_groonga/migrator.rb
Overview
:nodoc:
Instance Attribute Summary (collapse)
- 
  
    
      - (Object) path 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    Returns the value of attribute path. 
- 
  
    
      - (Object) version 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    Returns the value of attribute version. 
Instance Method Summary (collapse)
- 
  
    
      - (DuplicateMigrationVersionError) initialize(version, path) 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of DuplicateMigrationVersionError. 
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 | 
 
        