Class: Wurk::Swarm::RestartCounters::Snapshot

Inherits:
Struct
  • Object
show all
Defined in:
lib/wurk/swarm/restart_counters.rb

Instance Attribute Summary collapse

Instance Attribute Details

#crash_streak ⇒ Object

Returns the value of attribute crash_streak

Returns:

  • (Object) —

    the current value of crash_streak



24
25
26
# File 'lib/wurk/swarm/restart_counters.rb', line 24

def crash_streak
  @crash_streak
end

#restarts ⇒ Object

Returns the value of attribute restarts

Returns:

  • (Object) —

    the current value of restarts



24
25
26
# File 'lib/wurk/swarm/restart_counters.rb', line 24

def restarts
  @restarts
end