Module: Shared::Labels

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

Overview

Shared code for objects that have (physical) labels.

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Instance Method Details

#labeled?Boolean

Returns:

  • (Boolean)


25
26
27
# File 'app/models/concerns/shared/labels.rb', line 25

def labeled?
  labels.any?
end