Class: GScholar::Citation
- Inherits:
-
Object
- Object
- GScholar::Citation
- Includes:
- Citeable
- Defined in:
- lib/gscholar/citation.rb
Instance Attribute Summary collapse
-
#bibtex ⇒ Object
(also: #to_s)
readonly
Returns the value of attribute bibtex.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
Instance Method Summary collapse
-
#initialize(id) ⇒ Citation
constructor
A new instance of Citation.
Methods included from Citeable
#author, #citation, included, #title, #year
Constructor Details
Instance Attribute Details
#bibtex ⇒ Object (readonly) Also known as: to_s
Returns the value of attribute bibtex.
34 35 36 |
# File 'lib/gscholar/citation.rb', line 34 def bibtex @bibtex end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
34 35 36 |
# File 'lib/gscholar/citation.rb', line 34 def id @id end |