Exception: LicenseAcceptance::ProductVersionTypeError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/license_acceptance/product_reader.rb

Instance Method Summary collapse

Constructor Details

#initialize(product_version) ⇒ ProductVersionTypeError

Returns a new instance of ProductVersionTypeError.



118
119
120
121
# File 'lib/license_acceptance/product_reader.rb', line 118

def initialize(product_version)
  msg = "Product versions must be specified as a string, provided type is '#{product_version.class}'"
  super(msg)
end