Sha256: 42e11a39120ba505abedeca17567e237b20fe3910e1cafcac17b6c4722bebf90
Contents?: true
Size: 692 Bytes
Versions: 9
Compression:
Stored size: 692 Bytes
Contents
# frozen_string_literal: true require 'rfbeam/kld7/radar_parameters' require 'rfbeam/kld7/radar_messages' require 'rfbeam/kld7/serial_connection' require 'rfbeam/kld7/constants' require 'rfbeam/kld7/cli_output' require 'rfbeam/kld7/cli_formatter' require 'rfbeam/version' require 'rfbeam/cli' module RfBeam class Error < StandardError end class KLD7 include RfBeam::Kld7 end def self.connected path_str, dir = if RubySerial::ON_LINUX %w[ttyUSB /dev/] elsif RubySerial::ON_WINDOWS ['TODO: Implement find device for Windows', 'You lazy bugger'] else %w[tty.usbserial /dev/] end Dir.glob("#{dir}#{path_str}*") end end
Version data entries
9 entries across 9 versions & 1 rubygems