Module: GeoConcerns::ImageFileBehavior
- Extended by:
- ActiveSupport::Concern
- Included in:
- GeoFileSetBehavior
- Defined in:
- app/models/concerns/geo_concerns/image_file_behavior.rb
Overview
Attributes and methods for image files
Instance Method Summary collapse
-
#image_work ⇒ GeoConcerns::ImageWork
Retrieve the Image Work of which this Object is a member.
Instance Method Details
#image_work ⇒ GeoConcerns::ImageWork
Retrieve the Image Work of which this Object is a member
8 9 10 11 12 |
# File 'app/models/concerns/geo_concerns/image_file_behavior.rb', line 8 def image_work parents.select do |parent| parent.class.included_modules.include?(::GeoConcerns::ImageWorkBehavior) end.to_a end |