Skip to content

Instantly share code, notes, and snippets.

@brainopia
Created February 9, 2012 14:37
Show Gist options
  • Save brainopia/1780349 to your computer and use it in GitHub Desktop.
Save brainopia/1780349 to your computer and use it in GitHub Desktop.
# 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