Sha256: 2000012a1c3b3fd293092422f4ea3bdb03dbef8ad9dcad988bc68b5b4c28c135
Contents?: true
Size: 604 Bytes
Versions: 1
Compression:
Stored size: 604 Bytes
Contents
# encoding: utf-8 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.6.0.1 | lib/jldrill/views/test/StatisticsView.rb |