Created
February 9, 2012 14:37
-
-
Save brainopia/1780349 to your computer and use it in GitHub Desktop.
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
# skip initialize | |
Klass.allocate | |
__END__ | |
right way depends on use case but it can include | |
- extraction of current initialize logic to separate class method | |
- extraction of desired methods into modules which then extended on itself |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment