lib/pulse_meter/sensor/configuration.rb
# Returns true value if sensor with specified name exists in configuration, false otherwise
# @param name [Symbol] sensor name
Returns true value if sensor with specified name exists in configuration, false otherwise
Returns true value if sensor with specified name exists in configuration false otherwise
def has_sensor?(name)
        has_sensor = false
        with_resque do
          has_sensor = sensors.has_key?(name)
        end
        has_sensor
      end
def has_sensor? ( name ) has_sensor = false with_resque do has_sensor = sensors . has_key? ( name ) end has_sensor end
Returns true value if sensor with specified name exists in configuration, false otherwise
Returns true value if sensor with specified name exists in configuration false otherwise
name
None