Module: Shared::ProtocolRelationships

Extended by:
ActiveSupport::Concern
Included in:
CollectionObject, Extract, Image, Sequence
Defined in:
app/models/concerns/shared/protocol_relationships.rb

Overview

Shared code for attaching protocols to data objects.

Instance Method Summary (collapse)

Instance Method Details

- (Boolean) protocolled?

Returns:

  • (Boolean)


18
19
20
# File 'app/models/concerns/shared/protocol_relationships.rb', line 18

def protocolled?
  protocols.any?
end