Exception: VersionManager::VersionStorage::WrongLatestVersionError
- Inherits:
-
StandardError
- Object
- StandardError
- VersionManager::VersionStorage::WrongLatestVersionError
- Defined in:
- lib/version-manager/version_storage.rb
Instance Attribute Summary collapse
-
#version ⇒ Object
readonly
Returns the value of attribute version.
Instance Method Summary collapse
-
#initialize(version) ⇒ WrongLatestVersionError
constructor
A new instance of WrongLatestVersionError.
Constructor Details
#initialize(version) ⇒ WrongLatestVersionError
Returns a new instance of WrongLatestVersionError.
5 6 7 |
# File 'lib/version-manager/version_storage.rb', line 5 def initialize(version) @version = version end |
Instance Attribute Details
#version ⇒ Object (readonly)
Returns the value of attribute version.
4 5 6 |
# File 'lib/version-manager/version_storage.rb', line 4 def version @version end |