Class: Seo::FaInlineSvgRestorer::Result

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(html_out: nil, changed: false, svg_count: 0, icon_count: 0) ⇒ Result

Returns a new instance of Result.



21
# File 'app/services/seo/fa_inline_svg_restorer.rb', line 21

def initialize(html_out: nil, changed: false, svg_count: 0, icon_count: 0) = super

Instance Attribute Details

#changedObject (readonly) Also known as: changed?

Returns the value of attribute changed

Returns:

  • (Object)

    the current value of changed



20
21
22
# File 'app/services/seo/fa_inline_svg_restorer.rb', line 20

def changed
  @changed
end

#html_outObject (readonly)

Returns the value of attribute html_out

Returns:

  • (Object)

    the current value of html_out



20
21
22
# File 'app/services/seo/fa_inline_svg_restorer.rb', line 20

def html_out
  @html_out
end

#icon_countObject (readonly)

Returns the value of attribute icon_count

Returns:

  • (Object)

    the current value of icon_count



20
21
22
# File 'app/services/seo/fa_inline_svg_restorer.rb', line 20

def icon_count
  @icon_count
end

#svg_countObject (readonly)

Returns the value of attribute svg_count

Returns:

  • (Object)

    the current value of svg_count



20
21
22
# File 'app/services/seo/fa_inline_svg_restorer.rb', line 20

def svg_count
  @svg_count
end