Class: Markbridge::AST::Email
- Defined in:
- lib/markbridge/ast/email.rb
Overview
Represents an email link element.
Instance Attribute Summary collapse
-
#address ⇒ String?
readonly
The email address for this link.
Attributes inherited from Element
Instance Method Summary collapse
-
#initialize(address: nil) ⇒ Email
constructor
Create a new Email element.
Methods inherited from Element
Constructor Details
#initialize(address: nil) ⇒ Email
Create a new Email element.
21 22 23 24 |
# File 'lib/markbridge/ast/email.rb', line 21 def initialize(address: nil) super() @address = address end |
Instance Attribute Details
#address ⇒ String? (readonly)
Returns the email address for this link.
16 17 18 |
# File 'lib/markbridge/ast/email.rb', line 16 def address @address end |