class Fitting::Report::Combination
Public Class Methods
new(json_schema:, type:, combination:)
click to toggle source
# File lib/fitting/report/combination.rb, line 4 def initialize(json_schema:, type:, combination:) @json_schema = json_schema @type = type @combination = combination @tests = Fitting::Report::Tests.new([]) @id = SecureRandom.hex end
Public Instance Methods
add_test(test)
click to toggle source
# File lib/fitting/report/combination.rb, line 32 def add_test(test) @tests.push(test) end
id()
click to toggle source
# File lib/fitting/report/combination.rb, line 16 def id @id end
json_schema()
click to toggle source
# File lib/fitting/report/combination.rb, line 12 def json_schema @json_schema end
name()
click to toggle source
# File lib/fitting/report/combination.rb, line 24 def name @combination end
tests()
click to toggle source
# File lib/fitting/report/combination.rb, line 28 def tests @tests end
type()
click to toggle source
# File lib/fitting/report/combination.rb, line 20 def type @type end