Exception: LicenseAcceptance::ProductVersionTypeError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- LicenseAcceptance::ProductVersionTypeError
- Defined in:
- lib/license_acceptance/product_reader.rb
Instance Method Summary collapse
-
#initialize(product_version) ⇒ ProductVersionTypeError
constructor
A new instance of ProductVersionTypeError.
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 |