KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
To create an array with empty strings ['a', '', 'b', '', 'c'] (not one space strings ' ' ), using %W I can use %W[a #{} b #{} c] , also I can concatenate arrays, but is it possible to create array with empty strings using just %w[] ?
Tags (comma-separated)
Save Edits
Cancel