Module: MayNeedReview
- Defined in:
- app/models/may_need_review.rb
Defined Under Namespace
Modules: ClassMethods, InstanceMethods
Instance Method Summary collapse
Instance Method Details
#may_need_review ⇒ Object
3 4 5 6 7 8 9 10 |
# File 'app/models/may_need_review.rb', line 3 def may_need_review raise 'The model needs to be able to have flags associated.' if not self.instance_methods.include? :flags extend ClassMethods include InstanceMethods end |