module Sensor

Constants

VERSION

Attributes

configuration[RW]

Public Class Methods

configure(&block) click to toggle source
# File lib/sensor.rb, line 7
def configure(&block)
  @configuration = Sensor::Configuration.new(&block)
end
require(path) click to toggle source
Calls superclass method
# File lib/sensor.rb, line 15
def require(path)
  begin
    super("sensor/actuator/#{path}")
  rescue LoadError => e
    if e.message =~ /#{Regexp.escape(path)}/
      super("sensor/output_distribution/#{path}")
    else
      raise e
    end
  end
end