Exception: OsUp::PoolInUse
- Inherits:
-
StandardError
- Object
- StandardError
- OsUp::PoolInUse
- Defined in:
- lib/osup/exceptions.rb
Instance Attribute Summary collapse
-
#pool ⇒ Object
readonly
Returns the value of attribute pool.
-
#pool_migrations ⇒ Object
readonly
Returns the value of attribute pool_migrations.
Instance Method Summary collapse
-
#initialize(pool_migrations) ⇒ PoolInUse
constructor
A new instance of PoolInUse.
Constructor Details
#initialize(pool_migrations) ⇒ PoolInUse
Returns a new instance of PoolInUse.
27 28 29 30 31 32 |
# File 'lib/osup/exceptions.rb', line 27 def initialize(pool_migrations) @pool = pool_migrations.pool @pool_migrations = pool_migrations super("#{pool} is already initialized") end |
Instance Attribute Details
#pool ⇒ Object (readonly)
Returns the value of attribute pool.
25 26 27 |
# File 'lib/osup/exceptions.rb', line 25 def pool @pool end |
#pool_migrations ⇒ Object (readonly)
Returns the value of attribute pool_migrations.
25 26 27 |
# File 'lib/osup/exceptions.rb', line 25 def pool_migrations @pool_migrations end |