Class: Benchmark::Suite::SimpleReport
- Inherits:
-
Object
- Object
- Benchmark::Suite::SimpleReport
- Defined in:
- lib/benchmark/suite.rb
Instance Attribute Summary collapse
-
#end ⇒ Object
readonly
Returns the value of attribute end.
-
#start ⇒ Object
readonly
Returns the value of attribute start.
Instance Method Summary collapse
-
#initialize ⇒ SimpleReport
constructor
A new instance of SimpleReport.
Constructor Details
#initialize ⇒ SimpleReport
Returns a new instance of SimpleReport.
29 30 31 32 |
# File 'lib/benchmark/suite.rb', line 29 def initialize @start = nil @end = nil end |
Instance Attribute Details
#end ⇒ Object (readonly)
Returns the value of attribute end.
34 35 36 |
# File 'lib/benchmark/suite.rb', line 34 def end @end end |
#start ⇒ Object (readonly)
Returns the value of attribute start.
34 35 36 |
# File 'lib/benchmark/suite.rb', line 34 def start @start end |