Class: SourceMonitor::Items::RetentionPruner::Result

Inherits:
Struct
  • Object
show all
Defined in:
lib/source_monitor/items/retention_pruner.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#removed_by_ageObject

Returns the value of attribute removed_by_age

Returns:

  • (Object)

    the current value of removed_by_age



13
14
15
# File 'lib/source_monitor/items/retention_pruner.rb', line 13

def removed_by_age
  @removed_by_age
end

#removed_by_limitObject

Returns the value of attribute removed_by_limit

Returns:

  • (Object)

    the current value of removed_by_limit



13
14
15
# File 'lib/source_monitor/items/retention_pruner.rb', line 13

def removed_by_limit
  @removed_by_limit
end

#removed_totalObject

Returns the value of attribute removed_total

Returns:

  • (Object)

    the current value of removed_total



13
14
15
# File 'lib/source_monitor/items/retention_pruner.rb', line 13

def removed_total
  @removed_total
end

Instance Method Details

#applied?Boolean

Returns:

  • (Boolean)


14
15
16
# File 'lib/source_monitor/items/retention_pruner.rb', line 14

def applied?
  removed_total.positive?
end