Sha256: c53dcd4f74a82635644bf6984e869f013166c66de6b3dee10aceb9494c7e833d
Contents?: true
Size: 303 Bytes
Versions: 12
Compression:
Stored size: 303 Bytes
Contents
module Powder # Get the origin of the application link, whether it's a link to a # rack app or proxy to a port. def get_app_origin(app_link) if File.symlink? app_link File.readlink(app_link) else port = File.readlines(app_link)[0] "proxy port: #{port}" end end end
Version data entries
12 entries across 12 versions & 1 rubygems