class Importer
Constants
- CONTRIBUTORS_URL
Public Instance Methods
contributor_names()
click to toggle source
# File lib/rails_contributor_genders/importer.rb, line 7 def contributor_names doc = Nokogiri::HTML(open(CONTRIBUTORS_URL)) name_elements = doc.css("td.contributor-name") name_elements.map(&:text) end