From 2f818c0e2354b4819d699a41eb5461cda9b58753 Mon Sep 17 00:00:00 2001 From: Greg J Preece Date: Tue, 4 Jun 2019 21:35:37 -0700 Subject: [PATCH] Removing unneeded .send() calls in machine output. --- plugins/commands/global-status/command.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/plugins/commands/global-status/command.rb b/plugins/commands/global-status/command.rb index ce8e30784..f9c4207be 100644 --- a/plugins/commands/global-status/command.rb +++ b/plugins/commands/global-status/command.rb @@ -68,11 +68,11 @@ module VagrantPlugins # Machine-readable (non-formatted) output @env.ui.machine("metadata", "machine-count", entries.length.to_s); entries.each do |entry| - opts = { "target" => entry.send(:name).to_s } - @env.ui.machine("machine-id", entry.send(:id).to_s[0...7], opts) - @env.ui.machine("provider-name", entry.send(:provider).to_s, opts) - @env.ui.machine("machine-home", entry.send(:vagrantfile_path).to_s, opts) - @env.ui.machine("state", entry.send(:state).to_s, opts) + opts = { "target" => entry.name.to_s } + @env.ui.machine("machine-id", entry.id.to_s[0...7], opts) + @env.ui.machine("provider-name", entry.provider.to_s, opts) + @env.ui.machine("machine-home", entry.vagrantfile_path.to_s, opts) + @env.ui.machine("state", entry.state.to_s, opts) end # Human-readable (table formatted) output