Class: I18nLinter::Options
- Inherits:
-
Object
- Object
- I18nLinter::Options
- Defined in:
- lib/i18n_linter/options.rb
Instance Attribute Summary collapse
- #files ⇒ Object
-
#out_file ⇒ Object
Returns the value of attribute out_file.
Instance Method Summary collapse
-
#initialize(config) ⇒ Options
constructor
A new instance of Options.
Constructor Details
#initialize(config) ⇒ Options
Returns a new instance of Options.
8 9 10 |
# File 'lib/i18n_linter/options.rb', line 8 def initialize(config) @config = config end |
Instance Attribute Details
#files ⇒ Object
12 13 14 15 16 |
# File 'lib/i18n_linter/options.rb', line 12 def files return Dir[*@files].uniq.sort if @files supported_files.sort end |
#out_file ⇒ Object
Returns the value of attribute out_file.
6 7 8 |
# File 'lib/i18n_linter/options.rb', line 6 def out_file @out_file end |