Sha256: 188d96a19c056f4d6a7c7aa0911173f95134bdc81e0317aeec64b2bf46a14a11

Contents?: true

Size: 265 Bytes

Versions: 11

Compression:

Stored size: 265 Bytes

Contents

module Drone
  module Interfaces
    
    class Base
      def initialize(period)
        @period = period
        Drone::schedule_periodic(period){ output() }
      end
      
      def output
        raise "Uninmplemented"
      end
      
    end
    
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
drone-1.0.10 lib/drone/interfaces/base.rb
drone-1.0.9 lib/drone/interfaces/base.rb
drone-1.0.8 lib/drone/interfaces/base.rb
drone-1.0.7 lib/drone/interfaces/base.rb
drone-1.0.6 lib/drone/interfaces/base.rb
drone-1.0.5 lib/drone/interfaces/base.rb
drone-1.0.4 lib/drone/interfaces/base.rb
drone-1.0.1 lib/drone/interfaces/base.rb
drone-0.0.3 lib/drone/interfaces/base.rb
drone-0.0.2 lib/drone/interfaces/base.rb
drone-0.0.1 lib/drone/interfaces/base.rb