Sha256: 6b034c103c425226c42b3fc422740725928abf04d990b0e7a767d84f084ea8ef

Contents?: true

Size: 412 Bytes

Versions: 10

Compression:

Stored size: 412 Bytes

Contents

require 'mixlib/shellout'
require 'stringio'

module RRImm
  module FeedConfigExtensions

    def method_missing(name, *args, &block)
      if Enumerable.instance_methods(false).include? name
        @massages << { name => block }
      else
        raise NoMethodError, "#{name} does not exist"
      end
      self
    end

  end
end

module RRImm
  class FeedConfig
    include FeedConfigExtensions
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
rrimm-0.14.10 lib/rrimm/feed_config_extensions.rb
rrimm-0.14.9 lib/rrimm/feed_config_extensions.rb
rrimm-0.14.8 lib/rrimm/feed_config_extensions.rb
rrimm-0.14.7 lib/rrimm/feed_config_extensions.rb
rrimm-0.14.6 lib/rrimm/feed_config_extensions.rb
rrimm-0.14.5 lib/rrimm/feed_config_extensions.rb
rrimm-0.14.4 lib/rrimm/feed_config_extensions.rb
rrimm-0.14.3 lib/rrimm/feed_config_extensions.rb
rrimm-0.14.1 lib/rrimm/feed_config_extensions.rb
rrimm-0.14.0 lib/rrimm/feed_config_extensions.rb