Class: VagrantPlugins::Solidus::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/vagrant-solidus/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

Returns a new instance of Config.



6
7
8
9
10
# File 'lib/vagrant-solidus/config.rb', line 6

def initialize
  @site_ports       = (8081..8095).to_a
  @livereload_ports = (35730..35744).to_a
  @log_server_ports = (35745..35759).to_a
end

Instance Attribute Details

#livereload_portsObject

Returns the value of attribute livereload_ports.



4
5
6
# File 'lib/vagrant-solidus/config.rb', line 4

def livereload_ports
  @livereload_ports
end

#log_server_portsObject

Returns the value of attribute log_server_ports.



4
5
6
# File 'lib/vagrant-solidus/config.rb', line 4

def log_server_ports
  @log_server_ports
end

#site_portsObject

Returns the value of attribute site_ports.



4
5
6
# File 'lib/vagrant-solidus/config.rb', line 4

def site_ports
  @site_ports
end