Method: CouchShell::CorePlugin#lookup_server
- Defined in:
- lib/couch-shell-plugin/core.rb
#lookup_server ⇒ Object
45 46 47 48 49 |
# File 'lib/couch-shell-plugin/core.rb', line 45 def lookup_server raise VarNotSet unless shell.server_url u = shell.server_url "#{u.scheme}://#{u.host}:#{u.port}#{u.path}" end |