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


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

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)


1412
1413
1414
# File 'sig/types.rbs', line 1412

def authors
  @authors
end

#citation_keysArray[String]?

Returns the value of attribute citation_keys.

Returns:

  • (Array[String], nil)


1411
1412
1413
# File 'sig/types.rbs', line 1411

def citation_keys
  @citation_keys
end

#entry_countInteger?

Returns the value of attribute entry_count.

Returns:

  • (Integer, nil)


1410
1411
1412
# File 'sig/types.rbs', line 1410

def entry_count
  @entry_count
end

#entry_typesHash[String, Integer]?

Returns the value of attribute entry_types.

Returns:

  • (Hash[String, Integer], nil)


1414
1415
1416
# File 'sig/types.rbs', line 1414

def entry_types
  @entry_types
end

#year_rangeYearRange?

Returns the value of attribute year_range.

Returns:



1413
1414
1415
# File 'sig/types.rbs', line 1413

def year_range
  @year_range
end