James Byrne wrote:
>
> This would not happen to be the same thing as %Q[..] would it?
Apparently, the construct:
t.rcov_opts = %w{--rails --exclude
lib\/ruby,lib64\/ruby,\/usr,osx\/objc,gems\/,test\/,spec\/,features\/}
t.rcov_opts << %[--output "coverage"]
is equivalent to:
t.rcov_opts = [ "--rails"
"--exclude"
"lib\/ruby,lib64\/ruby,\/usr,osx\/objc,gems\/,test\/,spec\/,features\/"
"--output" "coverage"
]
Posted so that I can google for it next time.
--
Posted via http://www.ruby-forum.com/.
_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users