newbie: %Q method?

the tutorial at

uses this code: <%= link_to %Q{#{category.send(column.name)}}, :action => 'show', :id => category %>

what is this %Q method?

nevermind... kept googling and found it: http://www.rubycentral.com/book/language.html#UB

the tutorial at Radar – O’Reilly

uses this code: <%= link_to %Q{#{category.send(column.name)}}, :action => 'show', :id => category %>

what is this %Q method?

It's the same as using double quotes... but sometimes makes things nicer... say when you want to embed a lot of double quotes in your string and not worry about escaping them.

irb(main):003:0> %Q{one "two" three} => "one \"two\" three"