Exception: PgBundle::ExtensionNotFound
- Inherits:
-
ExtensionCreateError
- Object
- StandardError
- ExtensionCreateError
- PgBundle::ExtensionNotFound
- Defined in:
- lib/pgbundle.rb
Instance Method Summary collapse
-
#initialize(name, version = nil) ⇒ ExtensionNotFound
constructor
A new instance of ExtensionNotFound.
Constructor Details
#initialize(name, version = nil) ⇒ ExtensionNotFound
Returns a new instance of ExtensionNotFound.
26 27 28 29 30 31 32 |
# File 'lib/pgbundle.rb', line 26 def initialize(name, version = nil) if version super "specified Version #{version} for Extension #{name} not available" else super "Extension #{name} not available" end end |