Class: RgGen::SystemVerilog::Common::Utility::PackageDefinition
- Inherits:
-
StructureDefinition
- Object
- Core::Utility::CodeUtility::StructureDefinition
- StructureDefinition
- RgGen::SystemVerilog::Common::Utility::PackageDefinition
show all
- Defined in:
- lib/rggen/systemverilog/common/utility/package_definition.rb
Instance Method Summary
collapse
#initialize
Instance Method Details
#include_file(file) ⇒ Object
27
28
29
|
# File 'lib/rggen/systemverilog/common/utility/package_definition.rb', line 27
def include_file(file)
include_files([file])
end
|
#include_files(files) ⇒ Object
22
23
24
25
|
# File 'lib/rggen/systemverilog/common/utility/package_definition.rb', line 22
def include_files(files)
@include_files ||= []
@include_files.concat(Array(files))
end
|
#package_import(package) ⇒ Object
18
19
20
|
# File 'lib/rggen/systemverilog/common/utility/package_definition.rb', line 18
def package_import(package)
package_imports([package])
end
|
#package_imports(packages) ⇒ Object
13
14
15
16
|
# File 'lib/rggen/systemverilog/common/utility/package_definition.rb', line 13
def package_imports(packages)
@package_imports ||= []
@package_imports.concat(Array(packages))
end
|