Module: LibComponent::Output::Read
- Defined in:
- lib/openplacos/libcomponent.rb
Instance Method Summary collapse
-
#read(*args) ⇒ Object
Make a read access on this pin Please provide arguments needed according to interface definition.
Instance Method Details
#read(*args) ⇒ Object
Make a read access on this pin Please provide arguments needed according to interface definition
189 190 191 192 193 194 195 196 197 |
# File 'lib/openplacos/libcomponent.rb', line 189 def read(*args) if self.respond_to?(:get_buffer_value) buf = get_buffer_value() ret = buf || read_on_proxy(*args) else ret = read_on_proxy(*args) end return ret end |