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