flipback/rmodbus — pull request #25 by zatapathique (2013-03-12 08:18:58+00:00)
Title: Small compatibility change

In ruby 2.0.0 condition for when to override getbyte method triggers unnecessarily. Getbyte method doesn't work properly making decoding device's response throw an exception (rtu.rb, line 28, "Illegal function: 0"). This change basically takes into account ruby versions greater than '1.9'.