Class: BaseChecker

Inherits:
Object
  • Object
show all
Defined in:
lib/rails_translation_manager/locale_checker/base_checker.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(all_locales) ⇒ BaseChecker

Returns a new instance of BaseChecker.



6
7
8
# File 'lib/rails_translation_manager/locale_checker/base_checker.rb', line 6

def initialize(all_locales)
  @all_locales = all_locales
end

Instance Attribute Details

#all_localesObject (readonly)

Returns the value of attribute all_locales.



4
5
6
# File 'lib/rails_translation_manager/locale_checker/base_checker.rb', line 4

def all_locales
  @all_locales
end

Instance Method Details

#reportObject



10
11
12
# File 'lib/rails_translation_manager/locale_checker/base_checker.rb', line 10

def report
  raise "You must define a `report` method in the child class!"
end