Permalink
Browse files

included is called over and over again even if the module was already…

… included (append_features is not)
  • Loading branch information...
Yehuda Katz Yehuda Katz
Yehuda Katz authored and Yehuda Katz committed Dec 13, 2009
1 parent c5a88c5 commit db0fcc06a8565a18085539768692d7a84c3c3b50
Showing with 2 additions and 1 deletion.
  1. +2 −1 kernel/delta/module.rb
View
@@ -69,8 +69,9 @@ def include(*modules)
end
else
mod.send :append_features, self
- mod.send :included, self
end
+
+ mod.send :included, self
end
end

0 comments on commit db0fcc0

Please sign in to comment.