Ruby % syntax
Did you know that % syntax in ruby can use with any limiters?
%w(first second third)
%w[first second third]
It are standard examples, but code below works too
%i`first second third`
%q-a few words-
%w.a few words.
Written by adone
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Ruby
Authors
Related Tags
#ruby
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#