Class: Author
- Inherits:
-
Object
- Object
- Author
- Defined in:
- lib/refworks/authors/author.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#nRefs ⇒ Object
readonly
Returns the value of attribute nRefs.
Instance Method Summary collapse
-
#initialize(rawauthor) ⇒ Author
constructor
A new instance of Author.
Constructor Details
#initialize(rawauthor) ⇒ Author
Returns a new instance of Author.
5 6 7 8 |
# File 'lib/refworks/authors/author.rb', line 5 def initialize() @name = ["__content__"] @nRefs = ["nRefs"] end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
3 4 5 |
# File 'lib/refworks/authors/author.rb', line 3 def name @name end |
#nRefs ⇒ Object (readonly)
Returns the value of attribute nRefs.
3 4 5 |
# File 'lib/refworks/authors/author.rb', line 3 def nRefs @nRefs end |