Class: Apache::Server

Inherits:
ModRubySimObject show all
Defined in:
lib/apache/fakerequest.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from ModRubySimObject

inherited

Constructor Details

#initializeServer

Returns a new instance of Server.



398
399
400
# File 'lib/apache/fakerequest.rb', line 398

def initialize
	@loglevel = 99 # No logging by default
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Apache::ModRubySimObject

Instance Attribute Details

#loglevelObject

Returns the value of attribute loglevel.



402
403
404
# File 'lib/apache/fakerequest.rb', line 402

def loglevel
  @loglevel
end

Instance Method Details

#adminObject



424
425
426
# File 'lib/apache/fakerequest.rb', line 424

def admin
	"jrandomhacker@localhost"
end

#hostnameObject



404
405
406
# File 'lib/apache/fakerequest.rb', line 404

def hostname
	"localhost"
end