app/services/hyrax/quick_classification_query.rb in hyrax-3.0.0.pre.rc2 vs app/services/hyrax/quick_classification_query.rb in hyrax-3.0.0.pre.rc3
- old
+ new
@@ -10,12 +10,11 @@
# @!attribute [r] user
# @return [::User]
attr_reader :user
# @param [::User] user the current user
- # @param [Hash] options
- # @option options [#call] :concern_name_normalizer (String#constantize) a proc that translates names to classes
- # @option options [Array<String>] :models the options to display, defaults to everything.
+ # @param [#call] concern_name_normalizer (String#constantize) a proc that translates names to classes
+ # @param [Array<String>] models the options to display, defaults to everything.
def initialize(user,
models: Hyrax.config.registered_curation_concern_types,
concern_name_normalizer: ->(str) { str.constantize })
@user = user
@concern_name_normalizer = concern_name_normalizer