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.



18
19
20
21
# File 'lib/tocer/cli/commands/upsert.rb', line 18

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

Instance Method Details

#callObject



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

def call = runner.call