Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

… included (append_features is not)
  • Loading branch information...
commit db0fcc06a8565a18085539768692d7a84c3c3b50 1 parent c5a88c5
Yehuda Katz authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  kernel/delta/module.rb
View
3  kernel/delta/module.rb
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.