Class: Classifier::Config
Instance Attribute Summary collapse
-
#min_word_length ⇒ Object
Returns the value of attribute min_word_length.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
27 28 29 |
# File 'lib/classifier/config.rb', line 27 def initialize @min_word_length = 3 end |
Instance Attribute Details
#min_word_length ⇒ Object
Returns the value of attribute min_word_length.
24 25 26 |
# File 'lib/classifier/config.rb', line 24 def min_word_length @min_word_length end |