Permalink
Browse files

Merge pull request #182 from tobias/master

DataMapper::Hook .method_added and .singleton_method_added should call super
  • Loading branch information...
2 parents f516036 + ee86f7d commit df06eff39c03b3713f563570c802048ea9076052 @dkubb dkubb committed Apr 8, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/dm-core/support/hook.rb
@@ -30,10 +30,12 @@ def self.included(base)
class << self
def method_added(name)
process_method_added(name, :instance)
+ super
end
def singleton_method_added(name)
process_method_added(name, :class)
+ super
end
end
end

0 comments on commit df06eff

Please sign in to comment.