Class | String |
In: |
lib/yard/core_ext/string.rb
|
Parent: | Object |
Splits text into tokens the way a shell would, handling quoted text as a single token. Use ’\"’ and "\’" to escape quotes and ’\’ to escape a backslash.
@return [Array] an array representing the tokens