Class: Intent::Verbs::Cite

Inherits:
Object
  • Object
show all
Defined in:
lib/intent/verbs/cite.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#bibliographyObject (readonly)

Returns the value of attribute bibliography.



7
8
9
# File 'lib/intent/verbs/cite.rb', line 7

def bibliography
  @bibliography
end

#contextsObject (readonly)

Returns the value of attribute contexts.



6
7
8
# File 'lib/intent/verbs/cite.rb', line 6

def contexts
  @contexts
end

#documentsObject (readonly)

Returns the value of attribute documents.



4
5
6
# File 'lib/intent/verbs/cite.rb', line 4

def documents
  @documents
end

#projectsObject (readonly)

Returns the value of attribute projects.



5
6
7
# File 'lib/intent/verbs/cite.rb', line 5

def projects
  @projects
end