Sha256: 606fc38cb4cae852c14177b5ab65b080ba01bf1894c68df8ae44f91ed2d4c53f

Contents?: true

Size: 310 Bytes

Versions: 34

Compression:

Stored size: 310 Bytes

Contents

module PulseMeter
  module Visualize
    module DSL 
      class Sensor < Base

        self.data_class = PulseMeter::Visualize::Sensor

        def initialize(name)
          super()
          self.name(name)
        end

        string_setter :color
        string_setter :name
      end
    end
  end
end


Version data entries

34 entries across 34 versions & 2 rubygems

Version Path
pulse_meter_visualizer-0.4.22 lib/pulse_meter/visualize/dsl/sensor.rb
pulse_meter_visualizer-0.4.21 lib/pulse_meter/visualize/dsl/sensor.rb
pulse_meter_visualizer-0.4.20 lib/pulse_meter/visualize/dsl/sensor.rb
pulse_meter_visualizer-0.4.19 lib/pulse_meter/visualize/dsl/sensor.rb
pulse_meter_visualizer-0.4.18 lib/pulse_meter/visualize/dsl/sensor.rb
pulse_meter_visualizer-0.4.17 lib/pulse_meter/visualize/dsl/sensor.rb
pulse_meter_visualizer-0.4.16 lib/pulse_meter/visualize/dsl/sensor.rb
pulse_meter_visualizer-0.4.15 lib/pulse_meter/visualize/dsl/sensor.rb
pulse_meter_visualizer-0.4.14 lib/pulse_meter/visualize/dsl/sensor.rb
pulse_meter_visualizer-0.4.13 lib/pulse_meter/visualize/dsl/sensor.rb
pulse_meter_visualizer-0.4.12 lib/pulse_meter/visualize/dsl/sensor.rb
pulse_meter_visualizer-0.4.11 lib/pulse_meter/visualize/dsl/sensor.rb
pulse-meter-0.4.9 lib/pulse-meter/visualize/dsl/sensor.rb
pulse-meter-0.4.8 lib/pulse-meter/visualize/dsl/sensor.rb
pulse-meter-0.4.7 lib/pulse-meter/visualize/dsl/sensor.rb
pulse-meter-0.4.6 lib/pulse-meter/visualize/dsl/sensor.rb
pulse-meter-0.4.5 lib/pulse-meter/visualize/dsl/sensor.rb
pulse-meter-0.4.4 lib/pulse-meter/visualize/dsl/sensor.rb
pulse-meter-0.4.3 lib/pulse-meter/visualize/dsl/sensor.rb
pulse-meter-0.4.2 lib/pulse-meter/visualize/dsl/sensor.rb