Exception: Shaf::Command::Upgrade::UpgradeFailedError

Inherits:
CommandError
  • Object
show all
Defined in:
lib/shaf/command/upgrade.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(version) ⇒ UpgradeFailedError

Returns a new instance of UpgradeFailedError.



11
12
13
# File 'lib/shaf/command/upgrade.rb', line 11

def initialize(version)
  @version = version
end

Instance Attribute Details

#versionObject (readonly)

Returns the value of attribute version.



9
10
11
# File 'lib/shaf/command/upgrade.rb', line 9

def version
  @version
end