Class: Pragmater::CLI::Actions::Pattern

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

Overview

Stores file patterns.

Instance Method Summary collapse

Instance Method Details

#call(patterns = default) ⇒ Object



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

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