Class: I18nLinter::Result
- Inherits:
-
Object
- Object
- I18nLinter::Result
- Defined in:
- lib/i18n_linter/result.rb
Instance Attribute Summary collapse
-
#filename ⇒ Object
readonly
Returns the value of attribute filename.
-
#line ⇒ Object
readonly
Returns the value of attribute line.
-
#string ⇒ Object
readonly
Returns the value of attribute string.
Instance Method Summary collapse
-
#initialize(filename, line, string) ⇒ Result
constructor
A new instance of Result.
Constructor Details
#initialize(filename, line, string) ⇒ Result
9 10 11 12 13 |
# File 'lib/i18n_linter/result.rb', line 9 def initialize(filename, line, string) @filename = filename @line = line @string = string end |
Instance Attribute Details
#filename ⇒ Object (readonly)
Returns the value of attribute filename.
5 6 7 |
# File 'lib/i18n_linter/result.rb', line 5 def filename @filename end |
#line ⇒ Object (readonly)
Returns the value of attribute line.
6 7 8 |
# File 'lib/i18n_linter/result.rb', line 6 def line @line end |
#string ⇒ Object (readonly)
Returns the value of attribute string.
7 8 9 |
# File 'lib/i18n_linter/result.rb', line 7 def string @string end |