Exception: Bukin::VersionError

Inherits:
BukinError
  • Object
show all
Defined in:
lib/bukin.rb

Instance Method Summary collapse

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