Sha256: 328b2b31cdd57ccea5ea80928d1c227628d530386f7048db5bd89f5d3218c70d

Contents?: true

Size: 221 Bytes

Versions: 4

Compression:

Stored size: 221 Bytes

Contents

# Web Server root directory
WEB_SERVER_ROOT = File.expand_path(File.join(File.dirname(__FILE__),'root'))

def get_path(server,path)
  server.route_path(path).last
end

def get_url(server,url)
  server.route(url).last
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ronin-web-0.2.1 spec/web/helpers/server.rb
ronin-web-0.2.0 spec/web/helpers/server.rb
ronin-web-0.1.3 spec/web/helpers/server.rb
ronin-web-0.1.2 spec/web/helpers/server.rb