Class: I18nChecker::Unused::Text
- Inherits:
-
Object
- Object
- I18nChecker::Unused::Text
- Extended by:
- Forwardable
- Defined in:
- lib/i18n_checker/unused/text.rb
Instance Attribute Summary collapse
-
#file ⇒ Object
readonly
Returns the value of attribute file.
-
#text ⇒ Object
readonly
Returns the value of attribute text.
Instance Method Summary collapse
-
#initialize(file:, text:) ⇒ Text
constructor
A new instance of Text.
Constructor Details
#initialize(file:, text:) ⇒ Text
Returns a new instance of Text.
12 13 14 15 |
# File 'lib/i18n_checker/unused/text.rb', line 12 def initialize(file:, text:) @file = file @text = text end |
Instance Attribute Details
#file ⇒ Object (readonly)
Returns the value of attribute file.
8 9 10 |
# File 'lib/i18n_checker/unused/text.rb', line 8 def file @file end |
#text ⇒ Object (readonly)
Returns the value of attribute text.
8 9 10 |
# File 'lib/i18n_checker/unused/text.rb', line 8 def text @text end |