Sha256: f47e9eb61522165f7be79d820de86ec49042a82c9f1fb4a762451beeb2fed190
Contents?: true
Size: 539 Bytes
Versions: 106
Compression:
Stored size: 539 Bytes
Contents
module OrigenTesters class IGXLBasedTester class Parser class TestInstances < ::OrigenTesters::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
Version data entries
106 entries across 106 versions & 1 rubygems