app/services/hyrax/visibility_propagator.rb in hyrax-3.0.0.pre.rc1 vs app/services/hyrax/visibility_propagator.rb in hyrax-3.0.0.pre.rc2

- old
+ new

@@ -1,13 +1,14 @@ +# frozen_string_literal: true module Hyrax ## - # @abstract Propogates visibility from a provided object (e.g. a Work) to some + # @abstract Propagates visibility from a provided object (e.g. a Work) to some # group of its members (e.g. file_sets). class VisibilityPropagator ## - # @param source [#visibility] the object to propogate visibility from + # @param source [#visibility] the object to propagate visibility from # - # @return [#propogate] + # @return [#propagate] def self.for(source:) case source when Hyrax::WorkBehavior # ActiveFedora FileSetVisibilityPropagator.new(source: source) when Hyrax::Resource # Valkyrie