5 6 7 8 9 10 11
# File 'lib/uffizzi/services/volume_parser_service.rb', line 5 def parse(volumes) return [] if volumes.empty? Uffizzi.ui.say("Volumes '#{volumes}' should be an array") unless volumes.is_a?(Array) volumes.map { |volume| parse_volume(volume) } end