OSDN Git Service
(root)
/
splhack
/
AndroidRuby.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
ruby-1.9.1-rc1
[splhack/AndroidRuby.git]
/
lib
/
ruby-1.9.1-rc1
/
lib
/
rss
/
maker
/
content.rb
1
require 'rss/content'
2
require 'rss/maker/1.0'
3
require 'rss/maker/2.0'
4
5
module RSS
6
module Maker
7
module ContentModel
8
def self.append_features(klass)
9
super
10
11
::RSS::ContentModel::ELEMENTS.each do |name|
12
klass.def_other_element(name)
13
end
14
end
15
end
16
17
class ItemsBase
18
class ItemBase; include ContentModel; end
19
end
20
end
21
end