Class: OrigenTesters::Decompiler::Nodes::Pinlist
- Defined in:
- lib/origen_testers/decompiler/nodes.rb
Instance Attribute Summary collapse
-
#pins ⇒ Object
(also: #pinlist)
readonly
Returns the value of attribute pins.
Attributes inherited from Node
Instance Method Summary collapse
-
#initialize(pins:, context:) ⇒ Pinlist
constructor
A new instance of Pinlist.
Methods inherited from Node
#execute?, inherited, #platform_nodes
Constructor Details
#initialize(pins:, context:) ⇒ Pinlist
Returns a new instance of Pinlist.
105 106 107 108 109 110 |
# File 'lib/origen_testers/decompiler/nodes.rb', line 105 def initialize(pins:, context:) # remove trailing formatting characters pins = pins.map { |p| p.split(':').first } @pins = pins.map(&:strip).map(&:to_sym) super(context: context, type: :pinlist) end |
Instance Attribute Details
#pins ⇒ Object (readonly) Also known as: pinlist
Returns the value of attribute pins.
102 103 104 |
# File 'lib/origen_testers/decompiler/nodes.rb', line 102 def pins @pins end |