Class: I18nLinter::Options

Inherits:
Object
  • Object
show all
Defined in:
lib/i18n_linter/options.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#filesObject



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_fileObject

Returns the value of attribute out_file.



6
7
8
# File 'lib/i18n_linter/options.rb', line 6

def out_file
  @out_file
end