Class: Bors::Result
- Inherits:
-
Object
- Object
- Bors::Result
- Defined in:
- lib/bors/result.rb,
lib/bors/result/samples.rb,
lib/bors/result/settings.rb,
lib/bors/result/statistics.rb
Defined Under Namespace
Classes: Samples, Settings, Statistics
Instance Attribute Summary collapse
-
#data ⇒ Object
readonly
Returns the value of attribute data.
Instance Method Summary collapse
-
#initialize(data) ⇒ Result
constructor
A new instance of Result.
- #samples ⇒ Object
- #settings ⇒ Object
- #statistics ⇒ Object
Constructor Details
#initialize(data) ⇒ Result
Returns a new instance of Result.
10 11 12 |
# File 'lib/bors/result.rb', line 10 def initialize(data) @data = data end |
Instance Attribute Details
#data ⇒ Object (readonly)
Returns the value of attribute data.
8 9 10 |
# File 'lib/bors/result.rb', line 8 def data @data end |
Instance Method Details
#samples ⇒ Object
18 19 20 |
# File 'lib/bors/result.rb', line 18 def samples @samples ||= Samples.new(@data) end |
#settings ⇒ Object
14 15 16 |
# File 'lib/bors/result.rb', line 14 def settings @settings ||= Settings.new(@data) end |
#statistics ⇒ Object
22 23 24 |
# File 'lib/bors/result.rb', line 22 def statistics @statistics ||= Statistics.new(@data) end |