Module: ChurnVsComplexity::FileSelector::JavaScript

Defined in:
lib/churn_vs_complexity/file_selector.rb

Class Method Summary collapse

Class Method Details

.excluding(excluded) ⇒ Object



98
99
100
# File 'lib/churn_vs_complexity/file_selector.rb', line 98

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

.predefined(included:, excluded:) ⇒ Object



102
103
104
105
# File 'lib/churn_vs_complexity/file_selector.rb', line 102

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