Freeze values

This commit is contained in:
Jeff Bonhag 2020-06-01 15:22:28 -04:00
parent 38e986300b
commit 4480eb0d88
No known key found for this signature in database
GPG Key ID: 32966F3FB5AC1129

View File

@ -2,11 +2,11 @@ module VagrantPlugins
module ProviderVirtualBox
module Model
# Represents a storage controller for VirtualBox. Storage controllers
# have a type, a name, and can have hard disks or optical attached.
# have a type, a name, and can have hard disks or optical drives attached.
class StorageController
SATA_CONTROLLER_TYPES = ["IntelAhci"].freeze
IDE_CONTROLLER_TYPES = ["PIIX4", "PIIX3", "ICH6"].freeze
SATA_CONTROLLER_TYPES = ["IntelAhci"].map(&:freeze).freeze
IDE_CONTROLLER_TYPES = ["PIIX4", "PIIX3", "ICH6"].map(&:freeze).freeze
# The name of the storage controller.
#