class About::Server

Constants

PUBLIC_FOLDER
VIEWS_FOLDER

Public Class Methods

banner() click to toggle source

Public Instance Methods

env_path() click to toggle source
# File lib/about/server.rb, line 56
def env_path
  "#{path_prefix}/env"
end
path_prefix() click to toggle source
# File lib/about/server.rb, line 44
def path_prefix
  request.script_name   # request.env['SCRIPT_NAME']
end
rack_path() click to toggle source
# File lib/about/server.rb, line 52
def rack_path
  "#{path_prefix}/rack"
end
rails_path() click to toggle source
# File lib/about/server.rb, line 64
def rails_path
  "#{path_prefix}/rails"
end
root_path() click to toggle source
# File lib/about/server.rb, line 68
def root_path
  "#{path_prefix}/"
end
ruby_path() click to toggle source
# File lib/about/server.rb, line 48
def ruby_path
  "#{path_prefix}/ruby"
end
sinatra_path() click to toggle source
# File lib/about/server.rb, line 60
def sinatra_path
  "#{path_prefix}/sinatra"
end