require 'mixlib/shellout'
require 'stringio'

module RRImm
  module FeedConfigExtensions

    def select(&block)
      @massages << { select: block}
    end

  end
end

module RRImm
  class FeedConfig
    include FeedConfigExtensions
  end
end

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
      end
    end

  end
end

module RRImm
  class FeedConfig
    include FeedConfigExtensions
  end
end

Add all Enumerable methods in FeedConfigExtensions
Add all Enumerable methods in FeedConfigExtensions
