Class: Tidewave::Tools::GlobProjectFiles

Inherits:
Base
  • Object
show all
Defined in:
lib/tidewave/tools/glob_project_files.rb

Instance Method Summary collapse

Methods inherited from Base

file_system_tool, file_system_tool?

Instance Method Details

#call(pattern:) ⇒ Object



15
16
17
# File 'lib/tidewave/tools/glob_project_files.rb', line 15

def call(pattern:)
  Dir.glob(pattern, base: Tidewave::FileTracker.git_root)
end