Method: Avm::Sources::Base::Configuration#configuration_value_to_shell_words
- Defined in:
- lib/avm/sources/base/configuration.rb
#configuration_value_to_shell_words(value) ⇒ Array<String>?
31 32 33 34 35 |
# File 'lib/avm/sources/base/configuration.rb', line 31 def configuration_value_to_shell_words(value) return nil if value.blank? value.is_a?(::Enumerable) ? value.map(&:to_s) : ::Shellwords.split(value.to_s) end |