Exception: CleanSweep::PurgeStopped

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/clean_sweep/purge_stopped.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, limit) ⇒ PurgeStopped

Returns a new instance of PurgeStopped.



6
7
8
# File 'lib/clean_sweep/purge_stopped.rb', line 6

def initialize(message, limit)
  @stopped_at = limit
end

Instance Attribute Details

#stopped_atObject (readonly)

Returns the value of attribute stopped_at.



4
5
6
# File 'lib/clean_sweep/purge_stopped.rb', line 4

def stopped_at
  @stopped_at
end