Class: JLDrill::DeinflectionRulesFile
- Defined in:
- lib/jldrill/model/DeinflectionRules.rb
Instance Attribute Summary collapse
-
#deinflectionRules ⇒ Object
Returns the value of attribute deinflectionRules.
Attributes inherited from DataFile
#encoding, #file, #lines, #parsed, #publisher, #stepSize
Instance Method Summary collapse
- #dataSize ⇒ Object
-
#initialize ⇒ DeinflectionRulesFile
constructor
A new instance of DeinflectionRulesFile.
- #match(string) ⇒ Object
- #parser ⇒ Object
Methods inherited from DataFile
#createLines, #eof?, #findEncoding, #finishParsing, #fraction, #load, #loaded?, #parse, #parseChunk, #parseEntry, #readLines, #reset, #setLoaded, #shortFilename
Constructor Details
#initialize ⇒ DeinflectionRulesFile
Returns a new instance of DeinflectionRulesFile.
197 198 199 200 201 |
# File 'lib/jldrill/model/DeinflectionRules.rb', line 197 def initialize super @deinflectionRules = DeinflectionRules.new @stepSize = 20 end |
Instance Attribute Details
#deinflectionRules ⇒ Object
Returns the value of attribute deinflectionRules.
194 195 196 |
# File 'lib/jldrill/model/DeinflectionRules.rb', line 194 def deinflectionRules @deinflectionRules end |
Instance Method Details
#dataSize ⇒ Object
203 204 205 |
# File 'lib/jldrill/model/DeinflectionRules.rb', line 203 def dataSize @deinflectionRules.size end |
#match(string) ⇒ Object
211 212 213 |
# File 'lib/jldrill/model/DeinflectionRules.rb', line 211 def match(string) @deinflectionRules.match(string) end |
#parser ⇒ Object
207 208 209 |
# File 'lib/jldrill/model/DeinflectionRules.rb', line 207 def parser @deinflectionRules end |