Sha256: 691f40a91fff79a439d55ce55eadb18bca6535523823fd1ca68fe66a607368c5
Contents?: true
Size: 440 Bytes
Versions: 6
Compression:
Stored size: 440 Bytes
Contents
module Daigaku class Unit attr_reader :title, :task def initialize(path) @path = path @title = File.basename(path).gsub(/\_+/, ' ') end def task @task ||= Task.new(@path) end def reference_solution @reference_solution ||= ReferenceSolution.new(@path) end def solution @solution = Solution.new(@path) end def mastered? solution.verified? end end end
Version data entries
6 entries across 6 versions & 1 rubygems