Exception: Falsework::UpgradeError
- Inherits:
-
StandardError
- Object
- StandardError
- Falsework::UpgradeError
- Defined in:
- lib/falsework/upgrader.rb
Instance Method Summary collapse
-
#initialize(msg) ⇒ UpgradeError
constructor
A new instance of UpgradeError.
- #orig_to_s ⇒ Object
- #to_s ⇒ Object
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_s ⇒ Object
13 |
# File 'lib/falsework/upgrader.rb', line 13 alias :orig_to_s :to_s |
#to_s ⇒ Object
14 15 16 |
# File 'lib/falsework/upgrader.rb', line 14 def to_s "upgrade: #{orig_to_s}" end |