Exception: Puppet::Util::Package::Version::Gem::ValidationFailure Private

Inherits:
ArgumentError
  • Object
show all
Defined in:
lib/puppet/util/package/version/gem.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Instance Method Summary collapse

Constructor Details

#initialize(version) ⇒ ValidationFailure

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of ValidationFailure.


10
11
12
# File 'lib/puppet/util/package/version/gem.rb', line 10

def initialize(version)
  super("#{version} is not a valid ruby gem version.")
end