Class: Tocer::CLI::Commands::Upsert

Inherits:
Sod::Command
  • Object
show all
Defined in:
lib/tocer/cli/commands/upsert.rb

Overview

Stores table of contents root path.

Instance Method Summary collapse

Constructor Details

#initialize(runner: Runner.new) ⇒ Upsert

Returns a new instance of Upsert.



22
23
24
25
# File 'lib/tocer/cli/commands/upsert.rb', line 22

def initialize(runner: Runner.new, **)
  super(**)
  @runner = runner
end

Instance Method Details

#callObject



27
# File 'lib/tocer/cli/commands/upsert.rb', line 27

def call = runner.call input