# File lib/sshkit/coordinator.rb, line 12 def each(options={}, &block) if hosts options = default_options.merge(options) case options[:in] when :parallel then Runner::Parallel when :sequence then Runner::Sequential when :groups then Runner::Group else options[:in] end.new(hosts, options, &block).execute else Runner::Null.new(hosts, options, &block).execute end end