Sha256: 96065329f44771dc1fe62b71a60d9fddaec9399cb9b283be7530f1a7b081d529
Contents?: true
Size: 675 Bytes
Versions: 1
Compression:
Stored size: 675 Bytes
Contents
require 'jldrill/model/Problem' module JLDrill # The first kind of Problem shown. It lets you read it in Japanese and # guess the English class ReadingProblem < Problem def initialize(item) super(item) @level = 0 @questionParts = ["kanji", "reading", "hint"] @answerParts = ["definitions"] end def name return "ReadingProblem" end def clone value = ReadingProblem.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.5.1.7 | lib/jldrill/model/problems/ReadingProblem.rb |