Class: I18nChecker::NotFound::Text
- Inherits:
-
Object
- Object
- I18nChecker::NotFound::Text
- Extended by:
- Forwardable
- Defined in:
- lib/i18n_checker/not_found/text.rb
Instance Attribute Summary collapse
-
#lang ⇒ Object
readonly
Returns the value of attribute lang.
Instance Method Summary collapse
-
#initialize(lang:, locale_text:) ⇒ Text
constructor
A new instance of Text.
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
#lang ⇒ Object (readonly)
Returns the value of attribute lang.
8 9 10 |
# File 'lib/i18n_checker/not_found/text.rb', line 8 def lang @lang end |