Skip to content

Commit

Permalink
Merge pull request #13 from everypolitician-scrapers/add-prof-to-pref…
Browse files Browse the repository at this point in the history
…ixes

Add "prof" to list of name prefixes
  • Loading branch information
jacksonj04 committed Apr 10, 2018
2 parents c66cf0f + 6e19ff1 commit cc221d0
Show file tree
Hide file tree
Showing 3 changed files with 1,127 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/member_name.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class MemberName < Scraped::HTML

FEMALE_PREFIXES = %w[mrs ms].freeze
MALE_PREFIXES = %w[mr prince].freeze
OTHER_PREFIXES = %w[adv dr professor rev].freeze
OTHER_PREFIXES = %w[adv dr prof professor rev].freeze
PREFIXES = FEMALE_PREFIXES + MALE_PREFIXES + OTHER_PREFIXES

def partitioned
Expand Down
Loading

0 comments on commit cc221d0

Please sign in to comment.