Class: Evilution::Session::Diff::Result Private

Inherits:
Struct
  • Object
show all
Defined in:
lib/evilution/session/diff.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#fixedObject

Returns the value of attribute fixed

Returns:

  • (Object)

    the current value of fixed



6
7
8
# File 'lib/evilution/session/diff.rb', line 6

def fixed
  @fixed
end

#new_survivorsObject

Returns the value of attribute new_survivors

Returns:

  • (Object)

    the current value of new_survivors



6
7
8
# File 'lib/evilution/session/diff.rb', line 6

def new_survivors
  @new_survivors
end

#persistentObject

Returns the value of attribute persistent

Returns:

  • (Object)

    the current value of persistent



6
7
8
# File 'lib/evilution/session/diff.rb', line 6

def persistent
  @persistent
end

#summaryObject

Returns the value of attribute summary

Returns:

  • (Object)

    the current value of summary



6
7
8
# File 'lib/evilution/session/diff.rb', line 6

def summary
  @summary
end

Instance Method Details

#to_hObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



7
8
9
10
11
12
13
14
# File 'lib/evilution/session/diff.rb', line 7

def to_h
  {
    "summary" => summary.to_h,
    "fixed" => fixed,
    "new_survivors" => new_survivors,
    "persistent" => persistent
  }
end