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])


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

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]?

Returns the value of attribute authors.

Returns:

  • (Array[String], nil)


1422
1423
1424
# File 'sig/types.rbs', line 1422

def authors
  @authors
end

#citation_countInteger?

Returns the value of attribute citation_count.

Returns:

  • (Integer, nil)


1420
1421
1422
# File 'sig/types.rbs', line 1420

def citation_count
  @citation_count
end

#doisArray[String]?

Returns the value of attribute dois.

Returns:

  • (Array[String], nil)


1424
1425
1426
# File 'sig/types.rbs', line 1424

def dois
  @dois
end

#formatString?

Returns the value of attribute format.

Returns:

  • (String, nil)


1421
1422
1423
# File 'sig/types.rbs', line 1421

def format
  @format
end

#keywordsArray[String]?

Returns the value of attribute keywords.

Returns:

  • (Array[String], nil)


1425
1426
1427
# File 'sig/types.rbs', line 1425

def keywords
  @keywords
end

#year_rangeYearRange?

Returns the value of attribute year_range.

Returns:



1423
1424
1425
# File 'sig/types.rbs', line 1423

def year_range
  @year_range
end