Class: DhtSensor

Inherits:
Object
  • Object
show all
Defined in:
lib/dht_sensor/version.rb,
ext/dht_sensor/dht_sensor.c

Constant Summary collapse

VERSION =
"0.0.1"

Instance Method Summary collapse

Constructor Details

#initializeObject

Prototype for our methods - methods are prefixed by ‘method_’ here



12
# File 'ext/dht_sensor/dht_sensor.c', line 12

VALUE method_initialize(VALUE self, VALUE type, VALUE pin);

Instance Method Details

#to_aObject



13
# File 'ext/dht_sensor/dht_sensor.c', line 13

VALUE method_to_a(VALUE self);