Class: OrigenTesters::IGXLBasedTester::Base::References
- Inherits:
-
Object
- Object
- OrigenTesters::IGXLBasedTester::Base::References
- Includes:
- Generator
- Defined in:
- lib/origen_testers/igxl_based_tester/base/references.rb
Direct Known Subclasses
Constant Summary collapse
- OUTPUT_PREFIX =
nil
- OUTPUT_POSTFIX =
nil
Instance Attribute Summary collapse
-
#references ⇒ Object
Returns the value of attribute references.
Instance Method Summary collapse
- #add(reference, options = {}) ⇒ Object
-
#initialize ⇒ References
constructor
:nodoc:.
Methods included from Generator
#close, #collection, #collection=, #compiler, #current_dir, #dont_diff=, execute_source, #file_extension, #file_pipeline, #filename, #filename=, #finalize, #identity_map, #import, #inhibit_output, #name, #on_close, original_reference_file, original_reference_file=, #output_file, #output_inhibited?, #platform, #reference_file, #render, #set_flow_description, #stats, #to_be_written?, #write_from_template, #write_to_file
Constructor Details
#initialize ⇒ References
:nodoc:
11 12 13 |
# File 'lib/origen_testers/igxl_based_tester/base/references.rb', line 11 def initialize # :nodoc: @references = [] end |
Instance Attribute Details
#references ⇒ Object
Returns the value of attribute references.
6 7 8 |
# File 'lib/origen_testers/igxl_based_tester/base/references.rb', line 6 def references @references end |
Instance Method Details
#add(reference, options = {}) ⇒ Object
15 16 17 18 19 20 21 |
# File 'lib/origen_testers/igxl_based_tester/base/references.rb', line 15 def add(reference, = {}) = { comment: nil }.merge() @references << { ref: reference, comment: [:comment] } end |