class I18nChecker::Locale::Text

Translation text referenced from the file

@attr_reader [String] file File referring to translated text @attr_reader [String] text Translation text key @attr_reader [Fixnum] line Line number of file @attr_reader [Fixnum] column Column number of file

Attributes

column[R]
file[R]
line[R]
text[R]

Public Class Methods

new(file:, text:, line:, column:) click to toggle source

Create translated text

@param file [String] File referring to translated text @param text [String] Translation text key @param line [Fixnum] Line number of file @param column [Fixnum] Column number of file

# File lib/i18n_checker/locale/text.rb, line 18
def initialize(file:, text:, line:, column:)
  @file = file
  @text = text
  @line = line
  @column = column
end