Sha256: 437b16635b472b2291b635d714e04c67ed7b104fb2beb17663a11ea742be080b
Contents?: true
Size: 722 Bytes
Versions: 1
Compression:
Stored size: 722 Bytes
Contents
require 'jldrill/contexts/DisplayProblemContext' module JLDrill::Test # The ItemHintView displays information about the current item # that acts as hints for the user. For instance, it might # indicate that the word is intrasitive, or a suru noun, etc. class ItemHintView < JLDrill::DisplayProblemContext::ProblemView::ItemHintView attr_reader :newProblem, :problemUpdated attr_writer :newProblem, :problemUpdated def initialize(context) super(context) @newProblem = false end def newProblem(problem) @newProblem = true end def updateProblem(problem) @newProblem = false @problemUpdated = 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/ItemHintView.rb |