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

- (PurgeStopped) initialize(message, limit)

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

- (Object) stopped_at (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