Class: JLDrill::KanaFile

Inherits:
DataFile show all
Defined in:
lib/jldrill/model/moji/Kana.rb

Instance Attribute Summary collapse

Attributes inherited from DataFile

#encoding, #file, #lines, #parsed, #publisher, #stepSize

Instance Method Summary collapse

Methods inherited from DataFile

#createLines, #eof?, #findEncoding, #finishParsing, #fraction, #load, #loaded?, #parse, #parseChunk, #parseEntry, #readLines, #reset, #setLoaded, #shortFilename

Constructor Details

#initializeKanaFile

Returns a new instance of KanaFile.



111
112
113
114
# File 'lib/jldrill/model/moji/Kana.rb', line 111

def initialize
    super
    @kanaList = KanaList.new
end

Instance Attribute Details

#kanaListObject

Returns the value of attribute kanaList.



108
109
110
# File 'lib/jldrill/model/moji/Kana.rb', line 108

def kanaList
  @kanaList
end

Instance Method Details

#dataSizeObject



116
117
118
# File 'lib/jldrill/model/moji/Kana.rb', line 116

def dataSize
    @kanaList.size
end

#parserObject



120
121
122
# File 'lib/jldrill/model/moji/Kana.rb', line 120

def parser
    @kanaList
end