The argument `file` isn't needed here since `process_source.buffer.name` is equivalent to the `file`.
Maybe you should add the following method to `ProcessedSource`:

```ruby
class ProcessedSource
  def file_path
    @buffer.name
  end
end
```