Class: JLDrill::RadicalFile
- Defined in:
- lib/jldrill/model/moji/Radical.rb
Instance Attribute Summary collapse
-
#radicalList ⇒ Object
Returns the value of attribute radicalList.
Attributes inherited from DataFile
#encoding, #file, #lines, #parsed, #publisher, #stepSize
Instance Method Summary collapse
- #dataSize ⇒ Object
-
#initialize ⇒ RadicalFile
constructor
A new instance of RadicalFile.
- #parser ⇒ Object
Methods inherited from DataFile
#createLines, #eof?, #findEncoding, #finishParsing, #fraction, #load, #loaded?, #parse, #parseChunk, #parseEntry, #readLines, #reset, #setLoaded, #shortFilename
Constructor Details
#initialize ⇒ RadicalFile
Returns a new instance of RadicalFile.
127 128 129 130 |
# File 'lib/jldrill/model/moji/Radical.rb', line 127 def initialize super @radicalList = RadicalList.new end |
Instance Attribute Details
#radicalList ⇒ Object
Returns the value of attribute radicalList.
124 125 126 |
# File 'lib/jldrill/model/moji/Radical.rb', line 124 def radicalList @radicalList end |
Instance Method Details
#dataSize ⇒ Object
132 133 134 |
# File 'lib/jldrill/model/moji/Radical.rb', line 132 def dataSize @radicalList.size end |
#parser ⇒ Object
136 137 138 |
# File 'lib/jldrill/model/moji/Radical.rb', line 136 def parser @radicalList end |