Class: Intent::Verbs::Cite
- Inherits:
-
Object
- Object
- Intent::Verbs::Cite
- Defined in:
- lib/intent/verbs/cite.rb
Instance Attribute Summary collapse
-
#bibliography ⇒ Object
readonly
Returns the value of attribute bibliography.
-
#contexts ⇒ Object
readonly
Returns the value of attribute contexts.
-
#documents ⇒ Object
readonly
Returns the value of attribute documents.
-
#projects ⇒ Object
readonly
Returns the value of attribute projects.
Instance Method Summary collapse
-
#initialize(documents) ⇒ Cite
constructor
A new instance of Cite.
Constructor Details
#initialize(documents) ⇒ Cite
Returns a new instance of Cite.
9 10 11 |
# File 'lib/intent/verbs/cite.rb', line 9 def initialize(documents) @documents = documents end |
Instance Attribute Details
#bibliography ⇒ Object (readonly)
Returns the value of attribute bibliography.
7 8 9 |
# File 'lib/intent/verbs/cite.rb', line 7 def bibliography @bibliography end |
#contexts ⇒ Object (readonly)
Returns the value of attribute contexts.
6 7 8 |
# File 'lib/intent/verbs/cite.rb', line 6 def contexts @contexts end |
#documents ⇒ Object (readonly)
Returns the value of attribute documents.
4 5 6 |
# File 'lib/intent/verbs/cite.rb', line 4 def documents @documents end |
#projects ⇒ Object (readonly)
Returns the value of attribute projects.
5 6 7 |
# File 'lib/intent/verbs/cite.rb', line 5 def projects @projects end |