Sha256: 72e3c17baf91ee2aa3fe5ef90a99c9d6f3bd9fa17ead502737bd6956d4c9a0f8
Contents?: true
Size: 916 Bytes
Versions: 2
Compression:
Stored size: 916 Bytes
Contents
require 'origen' require_relative '../config/application.rb' require 'origen_testers' module OrigenApb # THIS FILE SHOULD ONLY BE USED TO LOAD RUNTIME DEPENDENCIES # If this plugin has any development dependencies (e.g. dummy DUT or other models that are only used # for testing), then these should be loaded from config/boot.rb # Example of how to explicitly require a file # require "origen_apb/my_file" # Load all files in the lib/origen_apb directory. # Note that there is no problem from requiring a file twice (Ruby will ignore # the second require), so if you have a file that must be required first, then # explicitly require it up above and then let this take care of the rest. Dir.glob("#{File.dirname(__FILE__)}/origen_apb/**/*.rb").sort.each do |file| require file end # Returns an instance of the OrigenApb::Driver def apb @origen_apb ||= Driver.new(self) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
origen_apb-0.3.0 | lib/origen_apb.rb |
origen_apb-0.2.0 | lib/origen_apb.rb |