Created
July 22, 2020 07:06
-
-
Save isotes/443b3dd9c684869d5dd560ed3f5cf087 to your computer and use it in GitHub Desktop.
Sum up command line arguments
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
puts ARGV.map(&:to_i).sum |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment