Hi,

At Fri, 30 Jul 2010 14:02:21 +0900,
Suraj Kurapati wrote in [ruby-core:31551]:
> For example, suppose you want to pass '-v' to a child program if the
> user ran Rake in tracing mode (rake --trace), but not otherwise:
>
>   sh 'asciidoc', ('-v' if Rake.application.options.trace), 'input.txt'

In 1.9, you can write as:

  sh 'asciidoc', *('-v' if Rake.application.options.trace), 'input.txt'

-- 
Nobu Nakada