Created
October 25, 2016 13:29
-
-
Save rupurt/585c657c4e420329a9d211ee234bd0ee 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
def user_names | |
users.map { |u| | |
u.name | |
} | |
end | |
user_names = users.map { |u| u.name } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment