Class: Tocer::CLI::Actions::Root

Inherits:
Sod::Action
  • Object
show all
Defined in:
lib/tocer/cli/actions/root.rb

Overview

Stores table of contents root path.

Instance Method Summary collapse

Instance Method Details

#call(path = default) ⇒ Object



18
# File 'lib/tocer/cli/actions/root.rb', line 18

def call(path = default) = settings.root_dir = Pathname(path)