Exception: Bukin::VersionError
- Inherits:
-
BukinError
- Object
- StandardError
- BukinError
- Bukin::VersionError
- Defined in:
- lib/bukin.rb
Instance Method Summary collapse
-
#initialize(name, bad_version, good_version) ⇒ VersionError
constructor
A new instance of VersionError.
Constructor Details
#initialize(name, bad_version, good_version) ⇒ VersionError
Returns a new instance of VersionError.
19 20 21 22 |
# File 'lib/bukin.rb', line 19 def initialize(name, bad_version, good_version) super("The resource #{name} (#{bad_version}) has an improper version. "\ "It should be in the form of #{good_version}") end |