Module: Shared::Labels

Extended by:
ActiveSupport::Concern
Included in:
CollectingEvent, Container, Identifier, TaxonDetermination, TaxonName
Defined in:
app/models/concerns/shared/labels.rb

Overview

Shared code for objects that have (physical) labels.

Instance Method Summary collapse

Instance Method Details

#labeled?Boolean

Returns:

  • (Boolean)


22
23
24
# File 'app/models/concerns/shared/labels.rb', line 22

def labeled?
  labels.any?
end