Created
June 26, 2012 12:19
-
-
Save jagregory/2995520 to your computer and use it in GitHub Desktop.
Improvements?
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
objects | |
.map(&method(:shared_map_method)) | |
.select(&method(:shared_select_method)) | |
.compact | |
def shared_map_method(x) | |
... | |
end | |
def shared_select_method(x) | |
... | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment