Class: Origen::Specs::SpecArray

Inherits:
Array show all
Defined in:
lib/origen/specs.rb

Overview

A regular Array but print specs to the console via their ID for brevity and consistency with other APIs (e.g. $dut.regs # => [:reg1, :reg2])

Instance Method Summary collapse

Methods inherited from Array

#dups, #dups?, #dups_with_index, #ids, #include_hash?, #include_hash_with_key?

Instance Method Details

#inspectObject



34
35
36
# File 'lib/origen/specs.rb', line 34

def inspect
  map(&:name).inspect
end