Class: SixthSense::Result::Reference
- Inherits:
-
Struct
- Object
- Struct
- SixthSense::Result::Reference
- Defined in:
- lib/sixth_sense/result.rb
Instance Attribute Summary collapse
-
#authors ⇒ Object
Returns the value of attribute authors.
-
#doi ⇒ Object
Returns the value of attribute doi.
-
#title ⇒ Object
Returns the value of attribute title.
-
#venue ⇒ Object
Returns the value of attribute venue.
-
#year ⇒ Object
Returns the value of attribute year.
Instance Method Summary collapse
Instance Attribute Details
#authors ⇒ Object
Returns the value of attribute authors
5 6 7 |
# File 'lib/sixth_sense/result.rb', line 5 def @authors end |
#doi ⇒ Object
Returns the value of attribute doi
5 6 7 |
# File 'lib/sixth_sense/result.rb', line 5 def doi @doi end |
#title ⇒ Object
Returns the value of attribute title
5 6 7 |
# File 'lib/sixth_sense/result.rb', line 5 def title @title end |
#venue ⇒ Object
Returns the value of attribute venue
5 6 7 |
# File 'lib/sixth_sense/result.rb', line 5 def venue @venue end |
#year ⇒ Object
Returns the value of attribute year
5 6 7 |
# File 'lib/sixth_sense/result.rb', line 5 def year @year end |
Instance Method Details
#to_h ⇒ Object
6 7 8 9 10 11 12 13 14 |
# File 'lib/sixth_sense/result.rb', line 6 def to_h { authors: , title: title, venue: venue, year: year, doi: doi } end |