Class: Findex::Config
- Inherits:
-
Object
- Object
- Findex::Config
- Defined in:
- lib/findex/config.rb
Instance Attribute Summary collapse
-
#log_level ⇒ Object
Returns the value of attribute log_level.
-
#stem_language ⇒ Object
Returns the value of attribute stem_language.
Instance Method Summary collapse
-
#initialize {|_self| ... } ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize {|_self| ... } ⇒ Config
Returns a new instance of Config.
5 6 7 8 9 10 |
# File 'lib/findex/config.rb', line 5 def initialize @stem_language = 'none' @log_level = :info yield self if block_given? end |
Instance Attribute Details
#log_level ⇒ Object
Returns the value of attribute log_level.
3 4 5 |
# File 'lib/findex/config.rb', line 3 def log_level @log_level end |
#stem_language ⇒ Object
Returns the value of attribute stem_language.
3 4 5 |
# File 'lib/findex/config.rb', line 3 def stem_language @stem_language end |