Exception: PgBundle::ExtensionNotFound

Inherits:
ExtensionCreateError show all
Defined in:
lib/pgbundle.rb

Instance Method Summary collapse

Constructor Details

#initialize(name, version = nil) ⇒ ExtensionNotFound

Returns a new instance of ExtensionNotFound.



28
29
30
31
32
33
34
# File 'lib/pgbundle.rb', line 28

def initialize(name, version = nil)
  if version
    super "specified Version #{version} for Extension #{name} not available"
  else
    super "Extension #{name} not available"
  end
end