Class: Relaton::Plateau::Hit
- Inherits:
-
Object
- Object
- Relaton::Plateau::Hit
- Defined in:
- lib/relaton/plateau/hit.rb
Instance Method Summary collapse
- #bibitem ⇒ Object
-
#initialize(**args) ⇒ Hit
constructor
A new instance of Hit.
Constructor Details
#initialize(**args) ⇒ Hit
Returns a new instance of Hit.
4 5 6 7 |
# File 'lib/relaton/plateau/hit.rb', line 4 def initialize(**args) @id = args[:id] @file = args[:file] end |
Instance Method Details
#bibitem ⇒ Object
9 10 11 12 |
# File 'lib/relaton/plateau/hit.rb', line 9 def bibitem return @bibitem if defined? @bibitem @bibitem = fetch_doc end |