From fcbf63e62c627deae76c1b8cb8c0876c536ed811 Mon Sep 17 00:00:00 2001 From: Jari Vetoniemi Date: Mon, 16 Mar 2020 18:49:26 +0900 Subject: Fresh start --- jni/ruby/lib/rss/content/1.0.rb | 9 +++++++++ jni/ruby/lib/rss/content/2.0.rb | 11 +++++++++++ 2 files changed, 20 insertions(+) create mode 100644 jni/ruby/lib/rss/content/1.0.rb create mode 100644 jni/ruby/lib/rss/content/2.0.rb (limited to 'jni/ruby/lib/rss/content') diff --git a/jni/ruby/lib/rss/content/1.0.rb b/jni/ruby/lib/rss/content/1.0.rb new file mode 100644 index 0000000..e5dc857 --- /dev/null +++ b/jni/ruby/lib/rss/content/1.0.rb @@ -0,0 +1,9 @@ +require 'rss/1.0' + +module RSS + RDF.install_ns(CONTENT_PREFIX, CONTENT_URI) + + class RDF + class Item; include ContentModel; end + end +end diff --git a/jni/ruby/lib/rss/content/2.0.rb b/jni/ruby/lib/rss/content/2.0.rb new file mode 100644 index 0000000..8491a99 --- /dev/null +++ b/jni/ruby/lib/rss/content/2.0.rb @@ -0,0 +1,11 @@ +require "rss/2.0" + +module RSS + Rss.install_ns(CONTENT_PREFIX, CONTENT_URI) + + class Rss + class Channel + class Item; include ContentModel; end + end + end +end -- cgit v1.2.3-70-g09d2