Sha256: 266228df048be1b3409122d83c9600c0ea6340ed9db073cf573d44be14def814

Contents?: true

Size: 299 Bytes

Versions: 1

Compression:

Stored size: 299 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.size.zero?
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
scrapzirra-0.0.6 lib/scrapzirra/injector.rb