-
-
Notifications
You must be signed in to change notification settings - Fork 410
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Sven Fuchs
committed
Oct 15, 2011
1 parent
e02d87b
commit c5d9e8c
Showing
1 changed file
with
2 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
c5d9e8c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This may seem a dumb question, but what do we get with extend here? I understand Module.new a bit (anonymous module). And, I think I understand why the previous commit created a Base module. But, there was nothing wrong with config being defined as class methods, right? I'm just curious, because our team likes this config pattern. But, I wanted to be able to explain the use of extend for Module.new in this context. 😄 Great gem!