class Gopher::Handler

Attributes

app[RW]

Public Instance Methods

bindto() click to toggle source
# File lib/gopher.rb, line 85
def bindto; app.respond_to?(:bindto) ? app.bindto : '0.0.0.0' end
call(*args) click to toggle source
# File lib/gopher.rb, line 87
def call(*args); end
host() click to toggle source
# File lib/gopher.rb, line 83
def host; app.respond_to?(:host) ? app.host : 'localhost' end
port() click to toggle source
# File lib/gopher.rb, line 84
def port; app.respond_to?(:port) ? app.port : 70 end
with(app) click to toggle source
# File lib/gopher.rb, line 78
def with(app)
  @app = app
  self
end