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


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

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)


1529
1530
1531
# File 'sig/types.rbs', line 1529

def authors
  @authors
end

#citation_keysArray[String]?

Returns the value of attribute citation_keys.

Returns:

  • (Array[String], nil)


1528
1529
1530
# File 'sig/types.rbs', line 1528

def citation_keys
  @citation_keys
end

#entry_countInteger?

Returns the value of attribute entry_count.

Returns:

  • (Integer, nil)


1527
1528
1529
# File 'sig/types.rbs', line 1527

def entry_count
  @entry_count
end

#entry_typesHash[String, Integer]?

Returns the value of attribute entry_types.

Returns:

  • (Hash[String, Integer], nil)


1531
1532
1533
# File 'sig/types.rbs', line 1531

def entry_types
  @entry_types
end

#year_rangeYearRange?

Returns the value of attribute year_range.

Returns:



1530
1531
1532
# File 'sig/types.rbs', line 1530

def year_range
  @year_range
end