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