Created
July 21, 2018 14:30
-
-
Save manojnaidu619/1f0f3c3eb5d5890c40dae1041e55a5b6 to your computer and use it in GitHub Desktop.
ARGV(Argument Vector) in ruby
This file contains hidden or 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
args = ARGV | |
puts "No Arguments passed" if ARGV.empty? | |
for i in ARGV do | |
puts i | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment