aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rss/image.rb
diff options
context:
space:
mode:
authorzzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-11-09 05:56:09 +0000
committerzzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-11-09 05:56:09 +0000
commit08936ea399c6d3cfdbf6822f5f7f2f209ed516a0 (patch)
tree277af9b51fb49077d9b51c047f158cf769551c42 /lib/rss/image.rb
parent34cbe5ac063457bf58eeec4256f262215eeb57fe (diff)
downloadruby-08936ea399c6d3cfdbf6822f5f7f2f209ed516a0.tar.gz
* lib/rss/*: [DOC] document various constants @steveklabnik [Bug #8812]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rss/image.rb')
-rw-r--r--lib/rss/image.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/rss/image.rb b/lib/rss/image.rb
index e79e9f5e65..b0619141bb 100644
--- a/lib/rss/image.rb
+++ b/lib/rss/image.rb
@@ -3,11 +3,15 @@ require 'rss/dublincore'
module RSS
+ # The prefix for the Image XML namespace.
IMAGE_PREFIX = 'image'
+ # The URI for the Image specification.
IMAGE_URI = 'http://purl.org/rss/1.0/modules/image/'
RDF.install_ns(IMAGE_PREFIX, IMAGE_URI)
+ # This constant holds strings which contain the names of
+ # image elements, with the appropriate prefix.
IMAGE_ELEMENTS = []
%w(item favicon).each do |name|