class TestBench::Fixture::Output::Substitute::Output::Scope

Attributes

records[W]

Public Class Methods

build(records) click to toggle source
# File lib/test_bench/fixture/output/substitute/scope.rb, line 9
def self.build(records)
  instance = new
  instance.records = records
  instance
end

Public Instance Methods

+(scope)
Alias for: combine
combine(scope) click to toggle source
# File lib/test_bench/fixture/output/substitute/scope.rb, line 15
def combine(scope)
  combined_records = self.records + scope.records

  Scope.build(combined_records)
end
Also aliased as: +