Class: Incite::Citation
- Inherits:
-
Object
- Object
- Incite::Citation
- Defined in:
- lib/incite/citation.rb
Instance Attribute Summary collapse
-
#source ⇒ Object
Returns the value of attribute source.
Instance Method Summary collapse
-
#initialize(source) ⇒ Citation
constructor
A new instance of Citation.
Constructor Details
#initialize(source) ⇒ Citation
Returns a new instance of Citation.
5 6 7 8 |
# File 'lib/incite/citation.rb', line 5 def initialize(source) self.source = source validate_required_attributes! end |
Instance Attribute Details
#source ⇒ Object
Returns the value of attribute source.
3 4 5 |
# File 'lib/incite/citation.rb', line 3 def source @source end |