Class: Apache::Server
- Inherits:
-
ModRubySimObject
- Object
- ModRubySimObject
- Apache::Server
- Defined in:
- lib/apache/fakerequest.rb
Instance Attribute Summary
-
- (Object) loglevel
Returns the value of attribute loglevel.
Instance Method Summary
- - (Object) admin
- - (Object) hostname
-
- (Server) initialize
constructor
A new instance of Server.
Constructor Details
- (Server) initialize
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
- (Object) loglevel
Returns the value of attribute loglevel
402 403 404 |
# File 'lib/apache/fakerequest.rb', line 402 def loglevel @loglevel end |
Instance Method Details
- (Object) admin
424 425 426 |
# File 'lib/apache/fakerequest.rb', line 424 def admin "jrandomhacker@localhost" end |
- (Object) hostname
404 405 406 |
# File 'lib/apache/fakerequest.rb', line 404 def hostname "localhost" end |