Method: Rupi::Pin#toggle

Defined in:
lib/rupi/pin.rb

#toggleObject



49
50
51
# File 'lib/rupi/pin.rb', line 49

def toggle
  self.value = value != 1
end