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


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

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

Returns the value of attribute authors.

Returns:

  • (Array[String])


78
79
80
# File 'sig/types.rbs', line 78

def authors
  @authors
end

#citation_keysArray[String] (readonly)

Returns the value of attribute citation_keys.

Returns:

  • (Array[String])


77
78
79
# File 'sig/types.rbs', line 77

def citation_keys
  @citation_keys
end

#entry_countInteger (readonly)

Returns the value of attribute entry_count.

Returns:

  • (Integer)


76
77
78
# File 'sig/types.rbs', line 76

def entry_count
  @entry_count
end

#entry_typesHash[String, Integer]? (readonly)

Returns the value of attribute entry_types.

Returns:

  • (Hash[String, Integer], nil)


80
81
82
# File 'sig/types.rbs', line 80

def entry_types
  @entry_types
end

#year_rangeYearRange? (readonly)

Returns the value of attribute year_range.

Returns:



79
80
81
# File 'sig/types.rbs', line 79

def year_range
  @year_range
end