Class: JLDrill::DisplayQuizStatusContext::QuizStatusView

Inherits:
Context::View
  • Object
show all
Defined in:
lib/jldrill/contexts/DisplayQuizStatusContext.rb

Direct Known Subclasses

Gtk::QuizStatusView, Test::QuizStatusView

Instance Attribute Summary

Attributes inherited from Context::View

#context

Instance Method Summary collapse

Methods inherited from Context::View

#addView, #getWidget, #removeView, #removingViewFrom, #viewAddedTo

Constructor Details

#initialize(context) ⇒ QuizStatusView

Returns a new instance of QuizStatusView.



15
16
17
# File 'lib/jldrill/contexts/DisplayQuizStatusContext.rb', line 15

def initialize(context)
    super(context)
end

Instance Method Details

#update(quiz) ⇒ Object



19
20
21
# File 'lib/jldrill/contexts/DisplayQuizStatusContext.rb', line 19

def update(quiz)
    # Should be overridden in the concrete class
end