Module: Rubot

Defined in:
lib/rubot/adapters.rb,
lib/rubot.rb,
lib/rubot/meta.rb

Overview

This module contains the robotics adapters. For instance, the ACME Robotics adapter would be Rubot::Adapters::AcmeRobotics. Its robot class would be Rubot::Adapters::AcmeRobotics::Robot, and one can be created with

fred = Rubot::Adapters::AcmeRobotics::Robot.new

or, in Rubot syntax,

robot :fred do
  adapter :acme_robotics
end

Defined Under Namespace

Modules: Adapters, DSL Classes: AdapterMissingError

Constant Summary collapse

VERSION =

:stopdoc:

'0.5.0'
LIBPATH =
::File.expand_path(::File.dirname(__FILE__)) + ::File::SEPARATOR
PATH =
::File.dirname(LIBPATH) + ::File::SEPARATOR

Class Method Summary collapse

Class Method Details

.versionObject

Returns the version string for the library.



10
11
12
# File 'lib/rubot/meta.rb', line 10

def self.version
  VERSION
end