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.


114
115
116
117
# File 'lib/license_acceptance/product_reader.rb', line 114

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