The Ruby % notation
So ruby have this %
notation inspired by Perl to define a string.
Here are some different ways to generate the same string:
%{hello world}
%<hello world>
%(hello world)
%[hello world]
'hello world'
"hello world"
=> "hello world"
Tweet