Sha256: c9330091e022a879b77d8a31b1e7e6ee1e03a5beac8b9bad1fdfa6fedb63da77

Contents?: true

Size: 265 Bytes

Versions: 4

Compression:

Stored size: 265 Bytes

Contents

require 'ads/rails'

module Ads
  class << self

    def configure
      yield config
    end

    def config
      @config ||= begin
        ActiveSupport::OrderedOptions.new.tap do |config|
          config.renderer = nil
        end
      end
    end

  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ads-rails-0.2.3 lib/ads-rails.rb
ads-rails-0.2.2 lib/ads-rails.rb
ads-rails-0.2.1 lib/ads-rails.rb
ads-rails-0.2.0 lib/ads-rails.rb