DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR RUBY
ruby %w meaning
%w(foo bar)
is a shortcut
for
[
"foo"
,
"bar"
]
.
Creates an array of the strings
.
PREVIOUS
NEXT
Tagged:
#ruby
#meaning
ADD COMMENT
Topic
COMMENT
Name
5+5 =
Submit