From 2cfa999f7baa1b994c9a0e3fef6b05f30d2ec7d9 Mon Sep 17 00:00:00 2001 From: matz Date: Wed, 28 Jan 2004 03:46:13 +0000 Subject: * lib/rss: rss library imported. [ruby-dev:22726] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/rss/each_parser.rb | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 test/rss/each_parser.rb (limited to 'test/rss/each_parser.rb') diff --git a/test/rss/each_parser.rb b/test/rss/each_parser.rb new file mode 100644 index 000000000..b1ea9c5e1 --- /dev/null +++ b/test/rss/each_parser.rb @@ -0,0 +1,17 @@ +#!/usr/bin/env ruby + +require "rbconfig" + +c = Config::CONFIG +ruby = File.join(c['bindir'], c['ruby_install_name']) + +module RSS + AVAILABLE_PARSERS = [ARGV.shift] +end + +def load_test_file(name) + puts "Loading #{name} ..." + require name +end + +load_test_file(ARGV.shift) -- cgit