Class: I18nChecker::NotFound::Text

Inherits:
Object
  • Object
show all
Extended by:
Forwardable
Defined in:
lib/i18n_checker/not_found/text.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(lang:, locale_text:) ⇒ Text

Returns a new instance of Text.



12
13
14
15
# File 'lib/i18n_checker/not_found/text.rb', line 12

def initialize(lang:, locale_text:)
  @lang = lang
  @locale_text = locale_text
end

Instance Attribute Details

#langObject (readonly)

Returns the value of attribute lang.



8
9
10
# File 'lib/i18n_checker/not_found/text.rb', line 8

def lang
  @lang
end