Class: I18n::Coverage::Config
- Inherits:
-
Object
- Object
- I18n::Coverage::Config
- Defined in:
- lib/i18n/coverage/config.rb
Instance Attribute Summary collapse
-
#locale ⇒ Object
Returns the value of attribute locale.
-
#locale_dir_path ⇒ Object
Returns the value of attribute locale_dir_path.
-
#printer ⇒ Object
Returns the value of attribute printer.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
10 11 12 13 14 |
# File 'lib/i18n/coverage/config.rb', line 10 def initialize self.locale = 'en' self.locale_dir_path = 'config/locales' self.printer = I18n::Coverage::Printers::BasicPrinter end |
Instance Attribute Details
#locale ⇒ Object
Returns the value of attribute locale.
6 7 8 |
# File 'lib/i18n/coverage/config.rb', line 6 def locale @locale end |
#locale_dir_path ⇒ Object
Returns the value of attribute locale_dir_path.
6 7 8 |
# File 'lib/i18n/coverage/config.rb', line 6 def locale_dir_path @locale_dir_path end |
#printer ⇒ Object
Returns the value of attribute printer.
6 7 8 |
# File 'lib/i18n/coverage/config.rb', line 6 def printer @printer end |