Last active
August 26, 2016 17:44
-
-
Save biwakonbu/5993431 to your computer and use it in GitHub Desktop.
random 数の生成コマンド ref: http://qiita.com/biwakonbu/items/ca1da25b530bb5824856
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
# /usr/bin/ruby | |
1.step(ARGV[0].to_i, 1) do |i| | |
puts rand(ARGV[1].to_i) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment