# File lib/capistrano/role.rb, line 15 def push(*list) options = list.last.is_a?(Hash) ? list.pop : {} list.each do |item| if item.respond_to?(:call) @dynamic_servers << DynamicServerList.new(item, options) else @static_servers << self.class.wrap_server(item, options) end end end