[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdebindings/qtruby/rubylib/examples/qt-examples/hello
From: Alex Zepeda <zipzippy () sonic ! net>
Date: 2003-08-10 20:07:04
[Download RAW message or body]
CVS commit by garbanzo:
Use neat Ruby functions.
M +1 -3 main.rb 1.2
--- kdebindings/qtruby/rubylib/examples/qt-examples/hello/main.rb #1.1:1.2
@@ -7,7 +7,5 @@
s = ''
-ARGV[1..ARGV.size-1].each{|arg|
- s += ' ' + arg
-}
+s = ARGV[1..ARGV.size-1].join(' ')
if (s.empty?)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic