Sha256: 8b57f02dcaf46daf03391e9267459435fb4c32165d5b29d68e00b1c5baa05224
Contents?: true
Size: 586 Bytes
Versions: 1
Compression:
Stored size: 586 Bytes
Contents
require 'jldrill/contexts/ShowStatisticsContext' module JLDrill::Test class StatisticsView < JLDrill::ShowStatisticsContext::StatisticsView attr_reader :closed, :destroyed, :updated attr_writer :closed, :destroyed, :updated def initialize(context) super(context) @closed = false @destroyed = false @updated = true end def close @closed = true super end def destroy @destroyed = true end def update(quiz) super(quiz) @updated = true end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
jldrill-0.5.1.7 | lib/jldrill/views/test/StatisticsView.rb |