app/lib/build_detective.rb
# Individual detectives must identify their inputs, outputs
Individual detectives must identify their inputs, outputs
Individual detectives must identify their inputs outputs
def determine_results(status, name_pattern, result_description)
    found_files = files_named(name_pattern)
    if found_files.empty?
    else
      @results[status] =
        met_result result_description, found_files.first['html_url']
    end
  end
def determine_results ( status , name_pattern , result_description ) found_files = files_named ( name_pattern ) if found_files . empty? else @results [ status ] = met_result result_description , found_files . first [ 'html_url' ] end end
Individual detectives must identify their inputs, outputs
Individual detectives must identify their inputs outputs
status
<not_specific>
name_pattern
<not_specific>
result_description
<not_specific>