Module: Retest::VersionControl

Defined in:
lib/retest/version_control.rb,
lib/retest/version_control/git.rb,
lib/retest/version_control/no_version_control.rb

Defined Under Namespace

Modules: Git, NoVersionControl

Class Method Summary collapse

Class Method Details

.files(extensions: []) ⇒ Object



9
10
11
# File 'lib/retest/version_control.rb', line 9

def files(extensions: [])
  [Git, NoVersionControl].find(&:installed?).files(extensions: extensions)
end