Module: GeoWorks::RasterFileBehavior

Extended by:
ActiveSupport::Concern
Includes:
GeoreferencedBehavior
Included in:
GeoFileSetBehavior
Defined in:
app/models/concerns/geo_works/raster_file_behavior.rb

Overview

Attributes and methods for raster files

Instance Method Summary collapse

Instance Method Details

#raster_workGeoWorks::Raster

Retrieve the Raster Work of which this Object is a member

Returns:

  • (GeoWorks::Raster)


8
9
10
11
12
# File 'app/models/concerns/geo_works/raster_file_behavior.rb', line 8

def raster_work
  parents.select do |parent|
    parent.class.included_modules.include?(::GeoWorks::RasterWorkBehavior)
  end.to_a
end