Permalink
Browse files

Raise NotImplementedError instead of NoMethodError

  • Loading branch information...
sr committed Mar 29, 2009
1 parent d134ca9 commit 9e5b2e0d08e7020bab7e7105e34b37b6c9517005
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/integrity/notifier/base.rb
@@ -10,7 +10,7 @@ def self.notify_of_build(build, config)
end
def self.to_haml
- raise NoMethodError, "you need to implement this method in your notifier"
+ raise NotImplementedError, "you need to implement this method in your notifier"
end
attr_reader :commit
@@ -26,7 +26,7 @@ def build
end
def deliver!
- raise NoMethodError, "you need to implement this method in your notifier"
+ raise NotImplementedError, "you need to implement this method in your notifier"
end
def short_message

0 comments on commit 9e5b2e0

Please sign in to comment.