lib/daigaku/unit.rb in daigaku-0.3.0 vs lib/daigaku/unit.rb in daigaku-0.4.0

- old
+ new

@@ -1,12 +1,11 @@ module Daigaku class Unit - attr_reader :title, :task def initialize(path) - @path = path + @path = path @title = File.basename(path).gsub(/\_+/, ' ') end def task @task ||= Task.new(@path) @@ -21,8 +20,7 @@ end def mastered? solution.verified? end - end end