Module: Shared::Containable

Extended by:
ActiveSupport::Concern
Included in:
CollectionObject, Container
Defined in:
app/models/concerns/shared/containable.rb

Instance Method Summary collapse

Instance Method Details

#contained?Boolean

Returns:

  • (Boolean)


9
10
11
# File 'app/models/concerns/shared/containable.rb', line 9

def contained?
  !self.container.nil?
end