Skip to content

Commit

Permalink
Add comment explaining usage of Spoom::TestHelpers::Project#read
Browse files Browse the repository at this point in the history
Co-authored-by: Alexandre Terrasa <583144+Morriar@users.noreply.github.com>
  • Loading branch information
bravehager and Morriar committed Mar 31, 2022
1 parent a2b6767 commit 49d0842
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/spoom/test_helpers/project.rb
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ def files
Dir.glob("#{@path}/**/*").sort
end

# Return the content of the file at `rel_path`
sig { params(rel_path: String).returns(String) }
def read(rel_path)
File.read(absolute_path(rel_path))
Expand Down

0 comments on commit 49d0842

Please sign in to comment.