Sha256: b0ab01be0d23a48de49edb7c54f0df947fb3a1dbbc7114a427ada85bdc70407b

Contents?: true

Size: 376 Bytes

Versions: 4

Compression:

Stored size: 376 Bytes

Contents

module PostmonRuby
  module Finders
    class TrackerFinder < PostmonRuby::Finders::Finder
      @@trackers = {
        ect: PostmonRuby::Finders::Tracker::ECTTrackerFinder.new
      }
      def arguments_size
        2
      end

      def search(*arguments)
        arguments.flatten!
        @@trackers[arguments.first].search(arguments[1..-1])
      end

    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
postmon_ruby-2.1.3 lib/postmon_ruby/finders/tracker_finder.rb
postmon_ruby-2.1.2 lib/postmon_ruby/finders/tracker_finder.rb
postmon_ruby-2.1.1 lib/postmon_ruby/finders/tracker_finder.rb
postmon_ruby-2.1.0 lib/postmon_ruby/finders/tracker_finder.rb