lib/daigaku/unit.rb in daigaku-0.6.0 vs lib/daigaku/unit.rb in daigaku-1.0.0
- old
+ new
@@ -14,10 +14,10 @@
def reference_solution
@reference_solution ||= ReferenceSolution.new(@path)
end
def solution
- @solution = Solution.new(@path)
+ @solution ||= Solution.new(@path)
end
def mastered?
solution.verified?
end