Sha256: 29040dbb0619f4cc14d35041d3356c2496f5f7af6a931d4d60c1627f6c2290ad
Contents?: true
Size: 205 Bytes
Versions: 1
Compression:
Stored size: 205 Bytes
Contents
module WithStats def stats_for(user) return unless user.present? Stats.from_statuses exercises.map { |it| it.status_for(user) } end def started?(user) stats_for(user).started? end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mumuki-domain-8.3.1 | app/models/with_stats.rb |