lib/origen/pins/virtual_pin.rb in origen-0.6.7 vs lib/origen/pins/virtual_pin.rb in origen-0.6.8
- old
+ new
@@ -1,16 +1,9 @@
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
+ @type = value
end
end
end
end