lib/trackler/implementation.rb in trackler-2.0.5.18 vs lib/trackler/implementation.rb in trackler-2.0.6.0
- old
+ new
@@ -100,10 +100,14 @@
It's possible to submit an incomplete solution so you can see how others have completed the exercise.
README
end
def track_hint
- read track_dir.join('SETUP.md')
+ track_hints_filename = track_dir.join('exercises','TRACK_HINTS.md')
+ unless File.exist?(track_hints_filename)
+ track_hints_filename = track_dir.join('SETUP.md')
+ end
+ read track_hints_filename
end
def implementation_hint
read File.join(track_directory, 'HINTS.md')
end