Method: Explorer::Hostmap#add
- Defined in:
- lib/explorer/hostmap.rb
#add(domain, host, port) ⇒ Object
13 14 15 |
# File 'lib/explorer/hostmap.rb', line 13 def add domain, host, port @mappings[domain] = { host: host, port: port } end |