Class: SocialTokenizer::Configuration
- Inherits:
-
Object
- Object
- SocialTokenizer::Configuration
- Defined in:
- lib/social_tokenizer/configuration.rb
Instance Attribute Summary collapse
-
#lang ⇒ Object
Returns the value of attribute lang.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
16 17 18 |
# File 'lib/social_tokenizer/configuration.rb', line 16 def initialize self.lang = :en end |
Instance Attribute Details
#lang ⇒ Object
Returns the value of attribute lang.
14 15 16 |
# File 'lib/social_tokenizer/configuration.rb', line 14 def lang @lang end |