    # File lib/yard/handlers/base.rb, line 389
          def register(*objects)
            objects.flatten.each do |object|
              next unless object.is_a?(CodeObjects::Base)
              register_ensure_loaded(object)
              yield(object) if block_given?
              register_file_info(object)
              register_source(object)
              register_visibility(object)
              register_docstring(object)
              register_group(object)
              register_dynamic(object)
              register_module_function(object)
            end
            objects.size == 1 ? objects.first : objects
          end