Class: Vulgata::Configuration
- Inherits:
-
Object
- Object
- Vulgata::Configuration
- Defined in:
- lib/vulgata/configuration.rb
Instance Attribute Summary collapse
-
#deafult_priority ⇒ Object
Returns the value of attribute deafult_priority.
-
#deafult_strategy ⇒ Object
Returns the value of attribute deafult_strategy.
-
#locale_flags ⇒ Object
Returns the value of attribute locale_flags.
-
#should_suggest_translation ⇒ Object
Returns the value of attribute should_suggest_translation.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
5 6 7 8 9 10 |
# File 'lib/vulgata/configuration.rb', line 5 def initialize @deafult_priority = 10 @deafult_strategy = Strategies::Globalize @should_suggest_translation = false @locale_flags = {} end |
Instance Attribute Details
#deafult_priority ⇒ Object
Returns the value of attribute deafult_priority.
3 4 5 |
# File 'lib/vulgata/configuration.rb', line 3 def deafult_priority @deafult_priority end |
#deafult_strategy ⇒ Object
Returns the value of attribute deafult_strategy.
3 4 5 |
# File 'lib/vulgata/configuration.rb', line 3 def deafult_strategy @deafult_strategy end |
#locale_flags ⇒ Object
Returns the value of attribute locale_flags.
3 4 5 |
# File 'lib/vulgata/configuration.rb', line 3 def locale_flags @locale_flags end |
#should_suggest_translation ⇒ Object
Returns the value of attribute should_suggest_translation.
3 4 5 |
# File 'lib/vulgata/configuration.rb', line 3 def should_suggest_translation @should_suggest_translation end |