module SSLyze::XML::Attributes::Title
Provides methods for accessing the `title` XML
attribute.
@since 1.0.0
Public Instance Methods
title()
click to toggle source
The title.
@return [String, nil]
The value of the `title` attribute.
# File lib/sslyze/xml/attributes/title.rb, line 16 def title @title ||= @node['title'] end
to_s()
click to toggle source
The title or an empty String.
@return [String]
# File lib/sslyze/xml/attributes/title.rb, line 25 def to_s title || '' end