lib/rubyserial.rb in rubyserial-0.4.0 vs lib/rubyserial.rb in rubyserial-0.5.0
- old
+ new
@@ -4,10 +4,10 @@
require 'ffi'
module RubySerial
ON_WINDOWS = RbConfig::CONFIG['host_os'] =~ /mswin|windows|mingw/i
ON_LINUX = RbConfig::CONFIG['host_os'] =~ /linux/i
- class Exception < Exception
+ class Error < IOError
end
end
if RubySerial::ON_WINDOWS
require 'rubyserial/windows_constants'