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:
parent
da248460da
commit
8cd7b6e583
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue