Exception: Falsework::UpgradeError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/falsework/upgrader.rb

Instance Method Summary collapse

Constructor Details

#initialize(msg) ⇒ UpgradeError

Returns a new instance of UpgradeError.



9
10
11
# File 'lib/falsework/upgrader.rb', line 9

def initialize msg
  super msg
end

Instance Method Details

#orig_to_sObject



13
# File 'lib/falsework/upgrader.rb', line 13

alias :orig_to_s :to_s

#to_sObject



14
15
16
# File 'lib/falsework/upgrader.rb', line 14

def to_s
  "upgrade: #{orig_to_s}"
end