Class: PasswordChanger::Printers::Pretty

Inherits:
Object
  • Object
show all
Defined in:
lib/password_changer/printers/pretty.rb

Instance Method Summary collapse

Instance Method Details

#output(users) ⇒ Object



5
6
7
8
9
# File 'lib/password_changer/printers/pretty.rb', line 5

def output(users)
  users.each do |user|
    PasswordChanger.logger.info "User \"#{user.name}\" has the following password \"#{user.new_password}\" now."
  end
end