Exception: SemverDialects::UnsupportedVersionError

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

Overview

rubocop:todo Style/Documentation

Instance Method Summary collapse

Constructor Details

#initialize(raw_version) ⇒ UnsupportedVersionError

Returns a new instance of UnsupportedVersionError.



35
36
37
38
# File 'lib/semver_dialects.rb', line 35

def initialize(raw_version)
  super
  @raw_version = raw_version
end

Instance Method Details

#messageObject



40
41
42
# File 'lib/semver_dialects.rb', line 40

def message
  "unsupported version '#{@raw_version}'"
end