aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Vandenberg2011-03-12 23:06:45 -0800
committerAdam Vandenberg2011-03-12 23:06:45 -0800
commitb7f093925e7a751914f131aaecd8c080d3441c16 (patch)
tree3db3fdd44686260a81b680a5321da4df37545e13
parentaff5ea54b8aa6362fad0554664b0cead809623ff (diff)
downloadbrew-b7f093925e7a751914f131aaecd8c080d3441c16.tar.bz2
Fix inheritance in exceptions
-rw-r--r--Library/Homebrew/exceptions.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/Library/Homebrew/exceptions.rb b/Library/Homebrew/exceptions.rb
index 28b46198e..0a4f74e4c 100644
--- a/Library/Homebrew/exceptions.rb
+++ b/Library/Homebrew/exceptions.rb
@@ -1,8 +1,8 @@
-class UsageError <RuntimeError; end
-class FormulaUnspecifiedError <UsageError; end
-class KegUnspecifiedError <UsageError; end
+class UsageError < RuntimeError; end
+class FormulaUnspecifiedError < UsageError; end
+class KegUnspecifiedError < UsageError; end
-class MultipleVersionsInstalledError <RuntimeError
+class MultipleVersionsInstalledError < RuntimeError
attr :name
def initialize name
@@ -13,7 +13,7 @@ end
class NotAKegError < RuntimeError; end
-class NoSuchKegError <RuntimeError
+class NoSuchKegError < RuntimeError
attr :name
def initialize name