Class: Seo::FaClassRewriter::Result

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

Overview

Service object: result.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of Result.



52
# File 'app/services/seo/fa_class_rewriter.rb', line 52

def initialize(html_out: nil, changed: false, 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



51
52
53
# File 'app/services/seo/fa_class_rewriter.rb', line 51

def changed
  @changed
end

#countObject (readonly)

Returns the value of attribute count

Returns:

  • (Object)

    the current value of count



51
52
53
# File 'app/services/seo/fa_class_rewriter.rb', line 51

def count
  @count
end

#html_outObject (readonly)

Returns the value of attribute html_out

Returns:

  • (Object)

    the current value of html_out



51
52
53
# File 'app/services/seo/fa_class_rewriter.rb', line 51

def html_out
  @html_out
end