Class: JLDrill::DisplayQuizStatusContext::QuizStatusView
- Inherits:
-
Context::View
- Object
- Context::View
- JLDrill::DisplayQuizStatusContext::QuizStatusView
- Defined in:
- lib/jldrill/contexts/DisplayQuizStatusContext.rb
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from Context::View
Instance Method Summary collapse
-
#initialize(context) ⇒ QuizStatusView
constructor
A new instance of QuizStatusView.
- #update(quiz) ⇒ Object
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 |