Answers for "%w meaning in ruby"

4

ruby %w meaning

%w(foo bar) is a shortcut for ["foo", "bar"]. Creates an array of the strings.
Posted by: Guest on September-06-2020
1

%w meaning in ruby

This is basically a way of converting text into an arary of strings!!
Posted by: Guest on November-25-2020

Browse Popular Code Answers by Language