app/lib/how_access_repo_files_detective.rb
# Individual detectives must identify their inputs, outputs
Individual detectives must identify their inputs, outputs
Individual detectives must identify their inputs outputs
def analyze(_evidence, current)
    repo_url = current[:repo_url]
    return {} if repo_url.blank?
    github_match = repo_url.match(GITHUB_REPO)
    github_match ? assemble_result("#{github_match[1]}/#{github_match[2]}") : {}
  end
def analyze ( _evidence , current ) repo_url = current [ :repo_url ] return { } if repo_url . blank? github_match = repo_url . match ( GITHUB_REPO ) github_match ? assemble_result ( "#{github_match[1]}/#{github_match[2]}" ) : { } end
Individual detectives must identify their inputs, outputs
Individual detectives must identify their inputs outputs
_evidence
<not_specific>
current
<not_specific>