Class: Google::Scholar::AuthorsProfileDocument
- Defined in:
- lib/google/scholar/document/authors_profile_document.rb
Instance Attribute Summary
Attributes inherited from Document
Instance Method Summary collapse
Methods inherited from Document
#has_next_page?, #initialize, #method_missing, #next_page_url
Constructor Details
This class inherits a constructor from Google::Scholar::Document
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Google::Scholar::Document
Instance Method Details
#articles(force = false) ⇒ Object
6 7 8 9 10 11 |
# File 'lib/google/scholar/document/authors_profile_document.rb', line 6 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 |