Sha256: e105099bcaabbf0b9c034216f0b7bbd5249d9390ae9f12d01a8c2b6b47f4c588
Contents?: true
Size: 656 Bytes
Versions: 1
Compression:
Stored size: 656 Bytes
Contents
# encoding: utf-8 require 'jldrill/model/Problem' module JLDrill # Shows you the English and you guess the kanji and reading class MeaningProblem < Problem def initialize(item) super(item) @level = 1 @questionParts = ["definitions"] @answerParts = ["kanji", "reading", "hint"] end def name return "MeaningProblem" end def clone value = MeaningProblem.new(item) value.assign(self) return value end def largeReading? return evaluateAttribute("kanji").empty? end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
jldrill-0.6.0.1 | lib/jldrill/model/problems/MeaningProblem.rb |