Class: StatsdTestHarness::TestData
- Inherits:
-
Object
- Object
- StatsdTestHarness::TestData
- Defined in:
- lib/statsd_test_harness/test_data.rb
Instance Attribute Summary collapse
-
#raw_output ⇒ Object
readonly
Returns the value of attribute raw_output.
Class Method Summary collapse
Instance Method Summary collapse
-
#duration ⇒ Object
FIXME parse output for duration.
-
#initialize(raw_output) ⇒ TestData
constructor
A new instance of TestData.
Constructor Details
#initialize(raw_output) ⇒ TestData
Returns a new instance of TestData.
11 12 13 |
# File 'lib/statsd_test_harness/test_data.rb', line 11 def initialize(raw_output) @raw_output = raw_output end |
Instance Attribute Details
#raw_output ⇒ Object (readonly)
Returns the value of attribute raw_output.
5 6 7 |
# File 'lib/statsd_test_harness/test_data.rb', line 5 def raw_output @raw_output end |
Class Method Details
.from(output) ⇒ Object
7 8 9 |
# File 'lib/statsd_test_harness/test_data.rb', line 7 def self.from(output) new(output) end |
Instance Method Details
#duration ⇒ Object
FIXME parse output for duration
16 17 18 |
# File 'lib/statsd_test_harness/test_data.rb', line 16 def duration 12 end |