# encoding: utf-8 module PasswordChanger module Printers class Plain def output(users) PasswordChanger.logger.info "You find the changed user accounts below. If an error occured during password change, the old password is given." puts 'name old_password' users.each do |user| printf "%s %s\n", user.name, user.new_password end end end end end