Sha256: c87172fe99ab149b7712939dd7d5dc790380e4f7ededd4541daa9e6e05cf0712
Contents?: true
Size: 580 Bytes
Versions: 18
Compression:
Stored size: 580 Bytes
Contents
module Origen module Tester class J750 class Parser class TestInstances < Origen::Tester::Parser::SearchableHash attr_accessor :parser def initialize(options = {}) @parser = options[:parser] end def import(file) File.readlines(file).each do |line| l = TestInstance.new(line, parser: parser) self[l.name] = l if l.valid? end end def inspect "<TestInstances: #{size}>" end end end end end end
Version data entries
18 entries across 18 versions & 1 rubygems