Class: Tocer::CLI::Actions::Pattern

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

Overview

Stores table of contents file patterns.

Instance Method Summary collapse

Instance Method Details

#call(patterns = default) ⇒ Object



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

def call(patterns = default) = settings.patterns = Array(patterns)