Class: VagrantPlugins::Solidus::Config
- Inherits:
-
Object
- Object
- VagrantPlugins::Solidus::Config
- Defined in:
- lib/vagrant-solidus/config.rb
Instance Attribute Summary collapse
-
#livereload_ports ⇒ Object
Returns the value of attribute livereload_ports.
-
#log_server_ports ⇒ Object
Returns the value of attribute log_server_ports.
-
#site_ports ⇒ Object
Returns the value of attribute site_ports.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
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_ports ⇒ Object
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_ports ⇒ Object
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_ports ⇒ Object
Returns the value of attribute site_ports.
4 5 6 |
# File 'lib/vagrant-solidus/config.rb', line 4 def site_ports @site_ports end |