Method: Mutx::Support::Configuration.port
- Defined in:
- lib/mutx/support/configuration.rb
.port ⇒ Fixnum
Returns the configured port. If it isn’t a number, port 8080 will be returned by defualt
64 65 66 |
# File 'lib/mutx/support/configuration.rb', line 64 def self.port self.is_a_number?(@@input["app_port"]) ? @@input["app_port"] : 8080 end |