Sha256: e5fc13939c2c90803fa59dd13ecff4ae4bb66acedc5e1506e499bcf1f1fc5c95
Contents?: true
Size: 379 Bytes
Versions: 2
Compression:
Stored size: 379 Bytes
Contents
require 'nokogiri' require 'open-uri' module Google module Scholar class AuthorsProfileDocument < Document def articles(force=false) return @citations if @citations && !force @citations = [] self.css(".cit-table tr.item").each {|row| @citations << Google::Scholar::ArticleSummary.new(row)} return @citations end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
google-scholar-0.0.2 | lib/google/scholar/document/authors_profile_document.rb |
google-scholar-0.0.1 | lib/google/scholar/document/authors_profile_document.rb |