Class: I18n::Coverage::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/i18n/coverage/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

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

#localeObject

Returns the value of attribute locale.



6
7
8
# File 'lib/i18n/coverage/config.rb', line 6

def locale
  @locale
end

#locale_dir_pathObject

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

#printerObject

Returns the value of attribute printer.



6
7
8
# File 'lib/i18n/coverage/config.rb', line 6

def printer
  @printer
end