Module: ChurnVsComplexity::FileSelector::JavaScript

Defined in:
lib/churn_vs_complexity/file_selector.rb

Class Method Summary collapse

Class Method Details

.excluding(excluded) ⇒ Object



108
109
110
# File 'lib/churn_vs_complexity/file_selector.rb', line 108

def self.excluding(excluded)
  Excluding.new(FileSelector.extensions(:javascript), excluded, true)
end

.predefined(included:, excluded:) ⇒ Object



112
113
114
115
# File 'lib/churn_vs_complexity/file_selector.rb', line 112

def self.predefined(included:, excluded:)
  Predefined.new(included:, extensions: FileSelector.extensions(:javascript), excluded:,
                 convert_to_absolute_path: true,)
end