Sha256: ba9d2f9f3fe9c4238e8297865177057022089a9934f0f0992b016c89de4ee0c2
Contents?: true
Size: 325 Bytes
Versions: 1
Compression:
Stored size: 325 Bytes
Contents
module VimRecovery class Command::List < Command def run each_swapfile do |swapfile| puts "[%s%s]\t%s\t%s" % [ swapfile.modified? ? 'M' : ' ', swapfile.still_running? ? 'R' : ' ', swapfile.path, swapfile.original_filename ] end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
vim-recovery-0.0.1 | lib/vim_recovery/command/list.rb |