Sha256: 62ce5f29acafe867fbbdb8880a9dafffb68803b44de55534cba91e21feb238e0

Contents?: true

Size: 429 Bytes

Versions: 10

Compression:

Stored size: 429 Bytes

Contents

$:.unshift(File.dirname(__FILE__))
require 'rbconfig'
require 'ffi'
include RbConfig

module RubySerial
  class Exception < Exception
  end
end

if CONFIG['host_os'] =~ /mswin|windows|mingw/i
  require 'rubyserial/windows_constants'
  require 'rubyserial/windows'
else
  if CONFIG['host_os'] =~ /linux/i
    require 'rubyserial/linux_constants'
  else
    require 'rubyserial/osx_constants'
  end
  require 'rubyserial/posix'
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
rubyserial-0.2.4 lib/rubyserial.rb
rubyserial-0.2.3 lib/rubyserial.rb
rubyserial-with-blocking-0.2.3 lib/rubyserial.rb
rubyserial-0.2.2 lib/rubyserial.rb
rubyserial-0.2.1 lib/rubyserial.rb
rubyserial-0.2.0 lib/rubyserial.rb
rubyserial-0.1.2 lib/rubyserial.rb
rubyserial-0.1.1 lib/rubyserial.rb
rubyserial-0.1.0 lib/rubyserial.rb
rubyserial-0.0.1 lib/rubyserial.rb