Class: Asciidoctor::Document::Author

Inherits:
Struct
  • Object
show all
Defined in:
lib/asciidoctor/document.rb

Overview

The Author class represents information about an author extracted from document attributes

Instance Attribute Summary collapse

Instance Attribute Details

#emailObject

Returns the value of attribute email

Returns:

  • (Object)

    the current value of email



141
142
143
# File 'lib/asciidoctor/document.rb', line 141

def email
  @email
end

#firstnameObject

Returns the value of attribute firstname

Returns:

  • (Object)

    the current value of firstname



141
142
143
# File 'lib/asciidoctor/document.rb', line 141

def firstname
  @firstname
end

#initialsObject

Returns the value of attribute initials

Returns:

  • (Object)

    the current value of initials



141
142
143
# File 'lib/asciidoctor/document.rb', line 141

def initials
  @initials
end

#lastnameObject

Returns the value of attribute lastname

Returns:

  • (Object)

    the current value of lastname



141
142
143
# File 'lib/asciidoctor/document.rb', line 141

def lastname
  @lastname
end

#middlenameObject

Returns the value of attribute middlename

Returns:

  • (Object)

    the current value of middlename



141
142
143
# File 'lib/asciidoctor/document.rb', line 141

def middlename
  @middlename
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



141
142
143
# File 'lib/asciidoctor/document.rb', line 141

def name
  @name
end