Class: Xberg::BibtexMetadata

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeBibtexMetadata

Returns a new instance of BibtexMetadata.

Parameters:

  • entry_count: (Integer)
  • citation_keys: (Array[String])
  • authors: (Array[String])
  • year_range: (YearRange)
  • entry_types: (Hash[String, Integer])


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

def initialize: (?entry_count: Integer, ?citation_keys: Array[String], ?authors: Array[String], ?year_range: YearRange, ?entry_types: Hash[String, Integer]) -> void

Instance Attribute Details

#authorsArray[String]?

Returns the value of attribute authors.

Returns:

  • (Array[String], nil)


1468
1469
1470
# File 'sig/types.rbs', line 1468

def authors
  @authors
end

#citation_keysArray[String]?

Returns the value of attribute citation_keys.

Returns:

  • (Array[String], nil)


1467
1468
1469
# File 'sig/types.rbs', line 1467

def citation_keys
  @citation_keys
end

#entry_countInteger?

Returns the value of attribute entry_count.

Returns:

  • (Integer, nil)


1466
1467
1468
# File 'sig/types.rbs', line 1466

def entry_count
  @entry_count
end

#entry_typesHash[String, Integer]?

Returns the value of attribute entry_types.

Returns:

  • (Hash[String, Integer], nil)


1470
1471
1472
# File 'sig/types.rbs', line 1470

def entry_types
  @entry_types
end

#year_rangeYearRange?

Returns the value of attribute year_range.

Returns:



1469
1470
1471
# File 'sig/types.rbs', line 1469

def year_range
  @year_range
end