Sha256: 30245b8f6336528ad7eeaf6970385c487895f683c187de8a488aeab0fb1079f0
Contents?: true
Size: 345 Bytes
Versions: 2
Compression:
Stored size: 345 Bytes
Contents
module Origen module Pins class VirtualPin < Pin # Pin Types TYPES = [:virtual_bit, :ate_ch] def type=(value) if TYPES.include? value @type = value else fail "VirtualPin type '#{value}' must be set to one of the following: #{TYPES.join(', ')}" end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
origen-0.6.7 | lib/origen/pins/virtual_pin.rb |
origen-0.6.6 | lib/origen/pins/virtual_pin.rb |