Commit 1f63be1c authored by Zac Wood's avatar Zac Wood
Browse files

mr rubocop at it again

parent ed38fd6c
Pipeline #2988 passed with stage
in 2 minutes and 15 seconds
......@@ -57,7 +57,7 @@ module PatriotWeb
# @param document [Nokogiri::HTML::Document]
def get_subject_codes_from_option_values(document)
document.xpath('//*[@id="subj_id"]/option').map do |opt| # for each option value under "subj_id"
opt.attr('value') if opt.attr('value').strip.alpha? # return the value if the value is alphanumeric
opt.attr('value') if opt.attr('value').strip.alpha? # return the value if the value is alphanumeric
end
end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment