Skip to content

Instantly share code, notes, and snippets.

@manojnaidu619
Created July 21, 2018 14:30
Show Gist options
  • Save manojnaidu619/1f0f3c3eb5d5890c40dae1041e55a5b6 to your computer and use it in GitHub Desktop.
Save manojnaidu619/1f0f3c3eb5d5890c40dae1041e55a5b6 to your computer and use it in GitHub Desktop.
ARGV(Argument Vector) in ruby
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