Class: BackupsCLI

Inherits:
Thor
  • Object
show all
Defined in:
lib/backups.rb

Instance Method Summary collapse

Instance Method Details

#rotate(name) ⇒ Object



13
14
15
16
17
18
19
20
21
22
23
# File 'lib/backups.rb', line 13

def rotate(name)
  if options[:complete]

    exit
  end
  if name
    puts "rotating #{name}"
  else
    puts "giving you a selection"
  end
end