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