Sha256: 2ddb5e15ac568b66dcc6cd26c5d53da5be89ea5da1100fad2b28f4302eecd211

Contents?: true

Size: 362 Bytes

Versions: 6

Compression:

Stored size: 362 Bytes

Contents

# coding: utf-8

module Bombard
  class Publisher
    class << self
      def for(results)
        new results
      end
    end

    def initialize(results)
      @results = results
    end

    def with_opts(options)
      @options = options
      self
    end

    def publish
      abort "'publish' method not implemented in #{self.class}"
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
bombard-0.1.0 lib/bombard/publisher.rb
bombard-0.0.6 lib/bombard/publisher.rb
bombard-0.0.5 lib/bombard/publisher.rb
bombard-0.0.4 lib/bombard/publisher.rb
bombard-0.0.3 lib/bombard/publisher.rb
bombard-0.0.2 lib/bombard/publisher.rb