class Tinkerforge::BrickletVoltageCurrentV2
Public Instance Methods
state()
click to toggle source
Returns the device's state.
Calls superclass method
# File lib/tinderfridge/devices/bricklet_voltage_current_v2/bricklet_voltage_current_v2.rb, line 6 def state super.merge( 'voltage' => get_voltage, 'current' => get_current, 'power' => get_power, 'configuration' => get_configuration, 'calibration' => get_calibration, ) end