Module: Shared::Taggable

Extended by:
ActiveSupport::Concern
Included in:
CollectionObject, Image, Otu, Serial, Source
Defined in:
app/models/concerns/shared/taggable.rb

Instance Method Summary collapse

Instance Method Details

#tagged?Boolean

Returns:

  • (Boolean)


8
9
10
# File 'app/models/concerns/shared/taggable.rb', line 8

def tagged?
  self.tags.count > 0
end