app/builders/blacklight/action_builder.rb in blacklight-7.11.1 vs app/builders/blacklight/action_builder.rb in blacklight-7.12.0
- old
+ new
@@ -2,9 +2,15 @@
module Blacklight
# Dynamically creates methods on the given controller (typically CatalogController)
# for handling configured show tools
class ActionBuilder
+ # @param [Object] klass
+ # @param [String] name
+ # @param [Hash] opts
+ # @option opts [Symbol] callback
+ # @option opts [Symbol] validator
+ # @option opts [Boolean] define_method
def initialize(klass, name, opts)
@klass = klass
@name = name
@opts = opts
end