Module: SSLyze::XML::Attributes::Title
- Included in:
- SSLyze::XML, Plugin
- Defined in:
- lib/sslyze/xml/attributes/title.rb
Overview
Provides methods for accessing the title
XML attribute.
Instance Method Summary collapse
-
#title ⇒ String?
The title.
-
#to_s ⇒ String
The title or an empty String.
Instance Method Details
#title ⇒ String?
The title.
16 17 18 |
# File 'lib/sslyze/xml/attributes/title.rb', line 16 def title @title ||= @node['title'] end |
#to_s ⇒ String
The title or an empty String.
25 26 27 |
# File 'lib/sslyze/xml/attributes/title.rb', line 25 def to_s title || '' end |