Class: Trebuchet::Parser
- Inherits:
-
Object
- Object
- Trebuchet::Parser
- Defined in:
- lib/trebuchet/parser.rb
Instance Attribute Summary collapse
-
#failed_requests ⇒ Object
readonly
Returns the value of attribute failed_requests.
-
#requests ⇒ Object
readonly
Returns the value of attribute requests.
-
#rps ⇒ Object
readonly
Returns the value of attribute rps.
Instance Method Summary collapse
-
#initialize(siege_result) ⇒ Parser
constructor
A new instance of Parser.
Constructor Details
#initialize(siege_result) ⇒ Parser
Returns a new instance of Parser.
4 5 6 |
# File 'lib/trebuchet/parser.rb', line 4 def initialize siege_result parse siege_result end |
Instance Attribute Details
#failed_requests ⇒ Object (readonly)
Returns the value of attribute failed_requests.
3 4 5 |
# File 'lib/trebuchet/parser.rb', line 3 def failed_requests @failed_requests end |
#requests ⇒ Object (readonly)
Returns the value of attribute requests.
3 4 5 |
# File 'lib/trebuchet/parser.rb', line 3 def requests @requests end |
#rps ⇒ Object (readonly)
Returns the value of attribute rps.
3 4 5 |
# File 'lib/trebuchet/parser.rb', line 3 def rps @rps end |