Class: Origen::Pins::FunctionProxy
- Defined in:
- lib/origen/pins/function_proxy.rb
Overview
Thin wrapper around pin objects to implement a defined function.
The pin object stores all attributes associated with the function, this wrapper simply keeps track of what function a given pin reference refers to
Instance Method Summary collapse
- #__getobj__ ⇒ Object
-
#initialize(id, pin) ⇒ FunctionProxy
constructor
A new instance of FunctionProxy.
Constructor Details
#initialize(id, pin) ⇒ FunctionProxy
Returns a new instance of FunctionProxy.
10 11 12 13 |
# File 'lib/origen/pins/function_proxy.rb', line 10 def initialize(id, pin) @id = id @pin = pin end |
Instance Method Details
#__getobj__ ⇒ Object
15 16 17 |
# File 'lib/origen/pins/function_proxy.rb', line 15 def __getobj__ @pin end |