Class: Pragmater::CLI::Actions::Root

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

Overview

Stores root path.

Instance Method Summary collapse

Instance Method Details

#call(path = default) ⇒ Object



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

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