Sha256: 4806ffed7e47858de8b808ceb52edcef79b58fe44ee4b0388b377a153e8447fe

Contents?: true

Size: 295 Bytes

Versions: 4

Compression:

Stored size: 295 Bytes

Contents

module Scrapzirra
  class Injector
    attr_accessor :feed

    def initialize feed, options = {}
      @feed = feed
      @feed.class.send :include, Scrapzirra::FeedUtilities
      @feed.entries.first.class.send :include, Scrapzirra::FeedUtilities unless @feed.entries.blank?
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
scrapzirra-0.0.5 lib/scrapzirra/injector.rb
scrapzirra-0.0.4 lib/scrapzirra/injector.rb
scrapzirra-0.0.3 lib/scrapzirra/injector.rb
scrapzirra-0.0.2 lib/scrapzirra/injector.rb