Last active
August 29, 2015 14:04
-
-
Save cromwellryan/48239c36281e50ef08b0 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
class Stuffie | |
blah: () -> "blah" | |
stuffs = ([1..10]).map () -> new Stuffie | |
# Make this work CS | |
stuffs.map(&:blah) |
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
class Stuffie | |
def blah | |
"blah" | |
end | |
end | |
stuffs = (1..10).map { Stuffie.new } | |
# I want this in CS | |
stuffs.map(&:blah) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment