Class: Seo::HtmlPrettyPrinter::Result

Inherits:
Data
  • Object
show all
Defined in:
app/services/seo/html_pretty_printer.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#errorsObject (readonly)

Returns the value of attribute errors

Returns:

  • (Object)

    the current value of errors



2
3
4
# File 'app/services/seo/html_pretty_printer.rb', line 2

def errors
  @errors
end

#html_outObject (readonly)

Returns the value of attribute html_out

Returns:

  • (Object)

    the current value of html_out



2
3
4
# File 'app/services/seo/html_pretty_printer.rb', line 2

def html_out
  @html_out
end