Exception: OsUp::PoolUpToDate

Inherits:
StandardError
  • Object
show all
Defined in:
lib/osup/exceptions.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(pool_migrations) ⇒ PoolUpToDate

Returns a new instance of PoolUpToDate.



16
17
18
19
20
21
# File 'lib/osup/exceptions.rb', line 16

def initialize(pool_migrations)
  @pool = pool_migrations.pool
  @pool_migrations = pool_migrations

  super("#{pool} is up to date")
end

Instance Attribute Details

#poolObject (readonly)

Returns the value of attribute pool.



14
15
16
# File 'lib/osup/exceptions.rb', line 14

def pool
  @pool
end

#pool_migrationsObject (readonly)

Returns the value of attribute pool_migrations.



14
15
16
# File 'lib/osup/exceptions.rb', line 14

def pool_migrations
  @pool_migrations
end