Sha256: ea16ec3ca06f7a920e573cd91af66d35ca8358057b0475c1bbfbe1bf2a19b7a9
Contents?: true
Size: 487 Bytes
Versions: 79
Compression:
Stored size: 487 Bytes
Contents
require_relative 'guaranteed_file' module Trackler class Description def self.for(problem:, track: ) new(GuaranteedFile.for(problem: problem, track: track, filename: 'description.md')) end def initialize(description_file) @file = description_file @content = description_file.content end private_class_method :new def to_s @content end def url @file.url end def exists? !@content.empty? end end end
Version data entries
79 entries across 79 versions & 1 rubygems