From 1a22e46d60bd43bd19a089bd52fe4ee36518fe2c Mon Sep 17 00:00:00 2001 From: kou Date: Sun, 13 Feb 2005 14:21:21 +0000 Subject: * lib/rss/dublincore.rb (RSS::DublicCoreModel#date{,=}): added convenient methods. * lib/rss/0.9.rb (RSS::Rss::Channel#date{,=}): ditto. * lib/rss/2.0.rb (RSS::Rss::Channel::Item#date{,=}): ditto. * test/rss/: added tests for the convenient methods. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7965 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/rss/0.9.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/rss/0.9.rb') diff --git a/lib/rss/0.9.rb b/lib/rss/0.9.rb index 2bb59763d9..c780cdb66a 100644 --- a/lib/rss/0.9.rb +++ b/lib/rss/0.9.rb @@ -113,6 +113,8 @@ module RSS install_date_element(x, 'rfc822') install_model(x, occurs) end + alias date pubDate + alias date= pubDate= [ ["skipDays", "?"], -- cgit v1.2.3