summaryrefslogtreecommitdiff
path: root/lib/rss/syndication.rb
diff options
context:
space:
mode:
authorkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-03-31 02:10:18 +0000
committerkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-03-31 02:10:18 +0000
commitb7891928a33f7f6452f5e51858144e822e11a9cb (patch)
tree90195a26cbc6255e46c9a6459f64a84a008f345c /lib/rss/syndication.rb
parentf8c33000697574d405e822b1bb04430a34784907 (diff)
* lib/rss/parser.rb: @@setter -> @@setters.
* lib/rss/parser.rb (RSS::BaseListener.register_uri) (RSS::BaseListener.uri_registered?) (RSS::BaseListener.install_get_text_element): swapped the first argument and the second argument. * lib/rss/taxonomy.rb: swapped the first argument and the second argument for RSS::BaseListener.install_get_text_element. * lib/rss/image.rb: ditto. * lib/rss/syndication.rb: ditto. * lib/rss/dublincore.rb: ditto. * lib/rss/parser.rb: ditto. * lib/rss/1.0.rb: ditto. * lib/rss/2.0.rb: ditto. * lib/rss/0.9.rb: ditto. * lib/rss/content.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rss/syndication.rb')
-rw-r--r--lib/rss/syndication.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rss/syndication.rb b/lib/rss/syndication.rb
index c274ff8c82..e71455c6a4 100644
--- a/lib/rss/syndication.rb
+++ b/lib/rss/syndication.rb
@@ -79,7 +79,7 @@ module RSS
prefix_size = SY_PREFIX.size + 1
SyndicationModel::ELEMENTS.uniq!
SyndicationModel::ELEMENTS.each do |x|
- BaseListener.install_get_text_element(x[prefix_size..-1], SY_URI, "#{x}=")
+ BaseListener.install_get_text_element(SY_URI, x[prefix_size..-1], "#{x}=")
end
end