Top Level Namespace

Defined Under Namespace

Modules: CommPort, Rs232

Constant Summary collapse

OS =
case RbConfig::CONFIG['host_os'].downcase
  when /linux/
    'linux'
  when /darwin/
    'darwin'
  when /freebsd/
    'freebsd'
  when /openbsd/
    'openbsd'
  when /sunos|solaris/
    'solaris'
  when /mswin|mingw/
    'windows'
  else
    RbConfig::CONFIG['host_os'].downcase
end

Instance Method Summary collapse

Instance Method Details

#root(path) ⇒ Object



10
11
12
# File 'ext/rs_232/extconf.rb', line 10

def root(path)
  File.expand_path("../#{path}/", __FILE__)
end