⚲
Project
General
Profile
Sign in
Register
Home
Projects
Help
Search
:
Ruby master
All Projects
Ruby
»
Ruby master
Overview
Activity
Roadmap
Issues
Repository
Like
Download (283 Bytes)
Bug #10563
» callee.rb
Maturin (Lars Benner)
, 12/02/2014 08:36 PM
# Simple script, which is called by 'caller.rb' that prints the given program arguments to STDOUT.
if
true
# Short messages, only first and last argument
puts
ARGV
.
first
puts
ARGV
.
last
else
# Long messages, printing all arguments
ARGV
.
each
{
|
a
|
puts
a
}
end
« Previous
1
2
Next »
(2-2/2)
Loading...