Class: Coradoc::AsciiDoc::Model::Author
- Defined in:
- lib/coradoc/asciidoc/model/author.rb
Overview
Author information for document headers.
Author metadata captures document author names and contact information.
Instance Attribute Summary collapse
-
#email ⇒ String?
readonly
Author’s email address.
-
#first_name ⇒ String?
readonly
Author’s first name.
-
#last_name ⇒ String?
readonly
Author’s last name.
-
#middle_name ⇒ String?
readonly
Author’s middle name or initial.
Attributes inherited from Base
Method Summary
Methods inherited from Base
#block_level?, #inline?, #serialize_content, #simplify_block_content, #to_adoc, #to_h, visit, #visit
Instance Attribute Details
#email ⇒ String? (readonly)
Returns Author’s email address.
28 29 30 31 32 33 |
# File 'lib/coradoc/asciidoc/model/author.rb', line 28 class Author < Base attribute :first_name, :string attribute :last_name, :string attribute :email, :string attribute :middle_name, :string end |
#first_name ⇒ String? (readonly)
Returns Author’s first name.
28 29 30 31 32 33 |
# File 'lib/coradoc/asciidoc/model/author.rb', line 28 class Author < Base attribute :first_name, :string attribute :last_name, :string attribute :email, :string attribute :middle_name, :string end |