class Rustic::Application

Public Class Methods

new(config) click to toggle source
# File lib/rustic/application.rb, line 6
def initialize(config)
  @config = config
end

Public Instance Methods

run(*argv) click to toggle source
# File lib/rustic/application.rb, line 10
def run(*argv)
  command = argv.first || "backup"
  Rustic::Evaluator.new(command, @config).evaluate
end