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(specification:, filename:, **_track) ⇒ Object
40 41 42 |
# File 'lib/trackler/guaranteed_file.rb', line 40 def self.location(specification:, filename:, **_track) File.join(specification.root, 'problem-specifications', 'exercises', specification.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/problem-specifications/blob/master/exercises/%s/#{filename}" % specification.slug end |