1
0
Fork 0
mirror of https://github.com/nishiki/manage-password.git synced 2025-02-20 01:50:04 +00:00

use iter form

This commit is contained in:
Adrien Waksberg 2017-03-29 22:31:48 +02:00 committed by Adrien Waksberg
parent da248460da
commit 8cd7b6e583

View file

@ -202,7 +202,7 @@ class Cli
if k == :otp
print '| '
if item.otp; print ' X ' else 4.times { print ' ' } end
item.otp ? (print ' X ') : 4.times { print ' ' }
next
end