[rspec-users] Cucumber - but really ruby
James Byrne
lists at ruby-forum.com
Tue Feb 3 13:49:40 EST 2009
In the cucumber rake task I see this construct:
t.rcov_opts = %w{--rails --exclude
lib\/ruby,lib64\/ruby,\/usr,osx\/objc,gems\/,test\/,spec\/,features\/}
t.rcov_opts << %[--output "coverage"]
My questions is: What do %w and % represent with respect to the
"block"? in the first case and the "array"? in the second? I cannot
find an explanation of either usage in the documentation.
--
Posted via http://www.ruby-forum.com/.
More information about the rspec-users
mailing list