Class: Xberg::CitationMetadata

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeCitationMetadata

Returns a new instance of CitationMetadata.

Parameters:

  • citation_count: (Integer)
  • format: (String)
  • authors: (Array[String])
  • year_range: (YearRange)
  • dois: (Array[String])
  • keywords: (Array[String])


232
# File 'sig/types.rbs', line 232

def initialize: (?citation_count: Integer, ?format: String, ?authors: Array[String], ?year_range: YearRange, ?dois: Array[String], ?keywords: Array[String]) -> void

Instance Attribute Details

#authorsArray[String] (readonly)

Returns the value of attribute authors.

Returns:

  • (Array[String])


227
228
229
# File 'sig/types.rbs', line 227

def authors
  @authors
end

#citation_countInteger (readonly)

Returns the value of attribute citation_count.

Returns:

  • (Integer)


225
226
227
# File 'sig/types.rbs', line 225

def citation_count
  @citation_count
end

#doisArray[String] (readonly)

Returns the value of attribute dois.

Returns:

  • (Array[String])


229
230
231
# File 'sig/types.rbs', line 229

def dois
  @dois
end

#formatString? (readonly)

Returns the value of attribute format.

Returns:

  • (String, nil)


226
227
228
# File 'sig/types.rbs', line 226

def format
  @format
end

#keywordsArray[String] (readonly)

Returns the value of attribute keywords.

Returns:

  • (Array[String])


230
231
232
# File 'sig/types.rbs', line 230

def keywords
  @keywords
end

#year_rangeYearRange? (readonly)

Returns the value of attribute year_range.

Returns:



228
229
230
# File 'sig/types.rbs', line 228

def year_range
  @year_range
end