Method: Tailor::CLI#result

Defined in:
lib/tailor/cli.rb

#resultHash{String => Array}

Critiques all file sets, then returns the problems found as a result.

Returns:

  • (Hash{String => Array})

    The list of problems, where the keys are the file names in which the problems were found, and the values are the respective lists of problems for each file.



61
62
63
64
# File 'lib/tailor/cli.rb', line 61

def result
  @critic.critique(@configuration.file_sets)
  @critic.problems
end