shokai / arduino_firmata

Arduino Firmata protocol implementation on Ruby
http://shokai.github.io/arduino_firmata
MIT License
104 stars 23 forks source link

StringIO#bytes Error on Ruby2.0.0 #19

Closed shokai closed 11 years ago

shokai commented 11 years ago

Ruby2.0.0でエラーがでる

lib/arduino_firmata/arduino.rb:172: warning: StringIO#bytes is deprecated; use #each_byte instead

String#each_byte を使えばいいらしい