Exception: OsUp::PoolUpToDate
- Inherits:
-
StandardError
- Object
- StandardError
- OsUp::PoolUpToDate
- 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) ⇒ PoolUpToDate
constructor
A new instance of PoolUpToDate.
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
#pool ⇒ Object (readonly)
Returns the value of attribute pool.
14 15 16 |
# File 'lib/osup/exceptions.rb', line 14 def pool @pool end |
#pool_migrations ⇒ Object (readonly)
Returns the value of attribute pool_migrations.
14 15 16 |
# File 'lib/osup/exceptions.rb', line 14 def pool_migrations @pool_migrations end |