Method: BEL::Gen::DocumentHeader#document_authors

Defined in:
lib/bel/gen/document_header.rb

#document_authorsString

Returns randomly chosen document authors.

Returns:

  • (String)

    random document authors



80
81
82
83
84
85
86
# File 'lib/bel/gen/document_header.rb', line 80

def document_authors
  Rantly {
    array(range(1, 5)) {
      "#{sized(6) { string(:alpha) }} #{sized(2) { string(:upper) }}"
    }.join('|')
  }
end