Sha256: 89235c22b58374949ede1ea9f1c35b9c2c7c71f6f2767cc3d8099d2b7ab8a392
Contents?: true
Size: 480 Bytes
Versions: 4
Compression:
Stored size: 480 Bytes
Contents
module Recognizer module Input class Base def initialize(options={}) @enabled = true @logger = options[:logger] @options = options[:options] @input_queue = options[:input_queue] end def enabled? !!@enabled end def run true end def self.descendants ObjectSpace.each_object(Class).select do |klass| klass < self end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
recognizer-0.7.0-java | lib/recognizer/input.rb |
recognizer-0.6.0-java | lib/recognizer/input.rb |
recognizer-0.5.0-java | lib/recognizer/input.rb |
recognizer-0.4.0-java | lib/recognizer/input.rb |