Sha256: 3b29c4bc506a6b5544324aca8a20f42fbe7af98f1b993c93c672ee552ac48cc6
Contents?: true
Size: 370 Bytes
Versions: 2
Compression:
Stored size: 370 Bytes
Contents
module SPV # Converts raw fixtures into list of # SPV::Fixture objects. class Fixtures class Converter def self.convert_raw(raw_list) raw_list.map do |item| if item.kind_of?(String) Fixture.new(item) else Fixture.new(item[:fixture], item[:options]) end end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
site_prism.vcr-0.1.0 | lib/site_prism_vcr/fixtures/converter.rb |
site_prism.vcr-0.0.1 | lib/site_prism_vcr/fixtures/converter.rb |