Class: Trackler::CommonFile
- Inherits:
-
GuaranteedFile
- Object
- GuaranteedFile
- Trackler::CommonFile
- Defined in:
- lib/trackler/guaranteed_file.rb
Instance Attribute Summary
Attributes inherited from GuaranteedFile
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from GuaranteedFile
Class Method Details
.location(problem:, filename:, **_track) ⇒ Object
40 41 42 |
# File 'lib/trackler/guaranteed_file.rb', line 40 def self.location(problem:, filename:, **_track) File.join(problem.root, 'common', 'exercises', problem.slug, filename) end |
Instance Method Details
#url ⇒ Object
44 45 46 |
# File 'lib/trackler/guaranteed_file.rb', line 44 def url "https://github.com/exercism/x-common/blob/master/exercises/%s/#{filename}" % problem.slug end |