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