class PasswordChanger::Printers::Plain

Public Instance Methods

output(users) click to toggle source
# File lib/password_changer/printers/plain.rb, line 5
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