From 102e100108bb54228f2d4c3f415cd69ab739d86b Mon Sep 17 00:00:00 2001 From: Paul Hinze Date: Tue, 3 May 2022 12:34:50 -0500 Subject: [PATCH] client/target_index: Make yard comments conformant --- plugins/commands/serve/client/target_index.rb | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/plugins/commands/serve/client/target_index.rb b/plugins/commands/serve/client/target_index.rb index b80d7c50f..4e12e9f04 100644 --- a/plugins/commands/serve/client/target_index.rb +++ b/plugins/commands/serve/client/target_index.rb @@ -2,7 +2,7 @@ module VagrantPlugins module CommandServe class Client class TargetIndex < Client - # @param [string] + # @param [String] # @return [Boolean] true if delete is successful def delete(ident) logger.debug("deleting machine with id #{ident} from index") @@ -14,8 +14,8 @@ module VagrantPlugins true end - # @param [string] - # @return [MachineIndex::Entry] + # @param [String] + # @return [Vagrant::MachineIndex::Entry] def get(ident) logger.debug("getting machine with id #{ident} from index") begin @@ -31,7 +31,7 @@ module VagrantPlugins end end - # @param [string] + # @param [String] # @return [Boolean] def include?(ident) logger.debug("checking for machine with id #{ident} in index") @@ -42,8 +42,8 @@ module VagrantPlugins ).exists end - # @param [MachineIndex::Entry] - # @return [MachineIndex::Entry] + # @param [Vagrant::MachineIndex::Entry] + # @return [Vagrant::MachineIndex::Entry] def set(entry) logger.debug("setting machine #{entry} in index") if entry.id.to_s.empty? @@ -62,7 +62,7 @@ module VagrantPlugins end # Get all targets - # @return [Array] + # @return [Array] def all logger.debug("getting all machines") client.all(Empty.new).targets.map do |t_ref|