lib/time_distribution/task.rb in time_distribution-2.0.2 vs lib/time_distribution/task.rb in time_distribution-2.1.0

- old
+ new

@@ -28,9 +28,19 @@ def to_hours_s format('%0.2f', to_hours) end def to_ssv - format("%-25s%10s", @subject, to_hours_s) + format( + "%-30s%10s", + ( + if block_given? + yield(@subject) + else + @subject + end + ), + to_hours_s + ) end end end \ No newline at end of file