Using strings to build up command lines for execution is error-prone and potentially insecure. Check out why Ruby's %W array-literal syntax is the perfect tool for writing, composing, and executing external commands!
Episode 5 · part of Flawless Ruby
This episode is part of Flawless Ruby.
Flawless Ruby has 6 modules and 30 lessons. It is free: any Graceful.Dev account can watch it.
Responses