Class: Siba::Restore

Inherits:
Object
  • Object
show all
Includes:
FilePlug, KernelPlug, LoggerPlug
Defined in:
lib/siba/restore.rb

Instance Method Summary collapse

Methods included from KernelPlug

#siba_kernel, siba_kernel, siba_kernel=

Methods included from FilePlug

#siba_file, siba_file, siba_file=

Methods included from LoggerPlug

close, create, logger, #logger, opened?

Instance Method Details

#restore(path_to_options_yml) ⇒ Object



9
10
11
12
13
# File 'lib/siba/restore.rb', line 9

def restore(path_to_options_yml)
  run_restore path_to_options_yml
ensure
  Siba.cleanup
end