Module: Shared::CitationRequired

Extended by:
ActiveSupport::Concern
Included in:
AssertedDistribution
Defined in:
app/models/concerns/shared/citation_required.rb

Overview

Shared code for models that must have at least one Citation.

!! This require code must come before Shared::Citation !!

Instance Method Summary collapse

Instance Method Details

#requires_citation?True

Returns:

  • (True)


20
21
22
# File 'app/models/concerns/shared/citation_required.rb', line 20

def requires_citation?
  true
end