lib/vagrant-parallels/model/forwarded_port.rb in vagrant-parallels-1.4.2 vs lib/vagrant-parallels/model/forwarded_port.rb in vagrant-parallels-1.4.3
- old
+ new
@@ -35,10 +35,10 @@
@host_port = host_port
options ||= {}
@auto_correct = false
@auto_correct = options[:auto_correct] if options.has_key?(:auto_correct)
- @protocol = options[:protocol] || "tcp"
+ @protocol = options[:protocol] || 'tcp'
end
# This corrects the host port and changes it to the given new port.
#
# @param [Integer] new_port The new port