Class: Expire::KeepMonthlyForRule

Inherits:
KeepAdjectiveForRuleBase show all
Defined in:
lib/expire/keep_monthly_for_rule.rb

Overview

Keep one backup per mounth for a certain period of time

Constant Summary

Constants inherited from KeepAdjectiveForRuleBase

Expire::KeepAdjectiveForRuleBase::ADJECTIVE_FOR, Expire::KeepAdjectiveForRuleBase::PRIMARY_RANK

Constants inherited from FromNowKeepAdjectiveForRuleBase

FromNowKeepAdjectiveForRuleBase::PRIMARY_RANK

Constants included from FromRangeValue

FromRangeValue::FROM_VALUE_REGEX

Constants inherited from KeepAdjectiveRuleBase

Expire::KeepAdjectiveRuleBase::NOUN_FOR, Expire::KeepAdjectiveRuleBase::PRIMARY_RANK, Expire::KeepAdjectiveRuleBase::SECONDARY_RANK_FOR

Instance Attribute Summary

Attributes inherited from FromNowKeepAdjectiveForRuleBase

#unit

Attributes inherited from RuleBase

#amount

Method Summary

Methods inherited from KeepAdjectiveForRuleBase

#apply, primary_rank, #primary_rank, rank, #reason_to_keep

Methods inherited from FromNowKeepAdjectiveForRuleBase

#apply, #initialize, primary_rank, #primary_rank, #reason_to_keep

Methods included from FromRangeValue

#from_value

Methods included from NumerusUnit

#numerus_unit

Methods inherited from KeepAdjectiveRuleBase

#adjective, #apply, from_value, primary_rank, #primary_rank, rank, #rank, secondary_rank, #secondary_rank, #spacing

Methods inherited from RuleBase

<=>, #<=>, camelized_name, #initialize, name, #name, #numerus_backup, #option_name, option_name

Constructor Details

This class inherits a constructor from Expire::FromNowKeepAdjectiveForRuleBase