Method: Inspec::Resources::DockerContainer#command

Defined in:
lib/resources/docker_container.rb

#commandObject



57
58
59
60
61
62
# File 'lib/resources/docker_container.rb', line 57

def command
  return unless object_info.entries.length == 1

  cmd = object_info.commands[0]
  cmd.slice(1, cmd.length - 2)
end