Method: Binnacle::Configuration#set_default_port
- Defined in:
- lib/binnacle/configuration.rb
#set_default_port ⇒ Object
238 239 240 |
# File 'lib/binnacle/configuration.rb', line 238 def set_default_port self.port ||= ENV['BINNACLE_PORT'] || (self.encrypted? ? nil : DEFAULT_PORT) end |