Sha256: 9763dd525b235e177d1d847439a20ff5f0506a565dd450c07bc2bba580380d04
Contents?: true
Size: 649 Bytes
Versions: 1
Compression:
Stored size: 649 Bytes
Contents
require 'artoo/adaptors/adaptor' module Artoo module Adaptors # Connect to a opencv device # @see device documentation for more information class Opencv < Adaptor attr_reader :device # Creates a connection with device # @return [Boolean] def connect super end # Closes connection with device # @return [Boolean] def disconnect super end # Uses method missing to call device actions # @see device documentation def method_missing(method_name, *arguments, &block) device.send(method_name, *arguments, &block) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
artoo-opencv-0.1.0 | lib/artoo/adaptors/opencv.rb |