Skip to content

Commit

Permalink
use map bang
Browse files Browse the repository at this point in the history
  • Loading branch information
ondenman committed Jul 29, 2016
1 parent 5c9e160 commit c4ec90e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scraper.rb
Expand Up @@ -61,7 +61,7 @@ def deputats_on(page)

def generate_id_from(str)
arr = str.split('')
arr.map do |i|
arr.map! do |i|
i.ord
end
arr.join
Expand Down

0 comments on commit c4ec90e

Please sign in to comment.