Class: Seo::HtmlHeadingSanitizer::Result
- Inherits:
-
Data
- Object
- Data
- Seo::HtmlHeadingSanitizer::Result
- Defined in:
- app/services/seo/html_heading_sanitizer.rb
Instance Attribute Summary collapse
-
#errors ⇒ Object
readonly
Returns the value of attribute errors.
-
#headings_modified ⇒ Object
readonly
Returns the value of attribute headings_modified.
-
#html_out ⇒ Object
readonly
Returns the value of attribute html_out.
Instance Method Summary collapse
-
#initialize(html_out: nil, headings_modified: [], errors: []) ⇒ Result
constructor
A new instance of Result.
Constructor Details
#initialize(html_out: nil, headings_modified: [], errors: []) ⇒ Result
Returns a new instance of Result.
3 |
# File 'app/services/seo/html_heading_sanitizer.rb', line 3 def initialize(html_out: nil, headings_modified: [], errors: []) = super |
Instance Attribute Details
#errors ⇒ Object (readonly)
Returns the value of attribute errors
2 3 4 |
# File 'app/services/seo/html_heading_sanitizer.rb', line 2 def errors @errors end |
#headings_modified ⇒ Object (readonly)
Returns the value of attribute headings_modified
2 3 4 |
# File 'app/services/seo/html_heading_sanitizer.rb', line 2 def headings_modified @headings_modified end |
#html_out ⇒ Object (readonly)
Returns the value of attribute html_out
2 3 4 |
# File 'app/services/seo/html_heading_sanitizer.rb', line 2 def html_out @html_out end |