Exception: Omnibus::InvalidVersion

Inherits:
Error
  • Object
show all
Defined in:
lib/omnibus/exceptions.rb

Instance Method Summary collapse

Constructor Details

#initialize(version) ⇒ InvalidVersion

Returns a new instance of InvalidVersion.



326
327
328
329
330
# File 'lib/omnibus/exceptions.rb', line 326

def initialize(version)
  super <<~EOF
    '#{version}' could not be parsed as a valid version.
  EOF
end