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