Method: Bio::References#append

Defined in:
lib/bio/compat/references.rb

#append(reference) ⇒ Object

Add a Bio::Reference object to the container.

refs.append(reference)

Arguments:

  • (required) reference: Bio::Reference object

Returns

current Bio::References object



107
108
109
110
# File 'lib/bio/compat/references.rb', line 107

def append(reference)
  @references.push(reference) if reference.is_a? Reference
  return self
end