# File lib/capistrano/role.rb, line 87 def self.wrap_list (*list) options = list.last.is_a?(Hash) ? list.pop : {} if list.length == 1 if list.first.nil? return [] elsif list.first.is_a?(Array) list = list.first end end options.merge! list.pop if list.last.is_a?(Hash) list.map do |item| self.wrap_server item, options end end