Sha256: 115b07427587e876432caa0a4eda7c03065fd05643dd5d39c5bcd01eb20c5192

Contents?: true

Size: 286 Bytes

Versions: 2

Compression:

Stored size: 286 Bytes

Contents

require "feeder/engine"
require "feeder/configuration"

module Feeder

  class << self
    def config
      @configuration ||= Feeder::Configuration.new
    end

    def configure
      raise ArgumentError, "No block provided" unless block_given?

      yield config
    end
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
feeder-0.3.0 lib/feeder.rb
feeder-0.2.0 lib/feeder.rb