Class: Detour::GroupFlag
- Defined in:
- app/models/detour/group_flag.rb
Overview
A group of flaggable records of a given class may be flagged into a feature with this class.
Instance Attribute Summary collapse
Instance Attribute Details
#to_keep ⇒ Object
10 11 12 |
# File 'app/models/detour/group_flag.rb', line 10 def to_keep @to_keep || (!marked_for_destruction? && !new_record?) end |