diff options
Diffstat (limited to 'lib/rss/0.9.rb')
-rw-r--r-- | lib/rss/0.9.rb | 31 |
1 files changed, 1 insertions, 30 deletions
diff --git a/lib/rss/0.9.rb b/lib/rss/0.9.rb index f614eff0c8..4bb6a6e4b3 100644 --- a/lib/rss/0.9.rb +++ b/lib/rss/0.9.rb @@ -395,7 +395,7 @@ module RSS class Cloud < Element include RSS09 - + [ ["domain", "", true], ["port", "", true, :integer], @@ -424,14 +424,6 @@ module RSS rv = convert(rv) if need_convert rv end - - private - def _attrs - %w(domain port path registerProcedure protocol).collect do |attr| - [attr, true] - end - end - end class Item < Element @@ -540,13 +532,6 @@ module RSS [] end - def _attrs - [ - ["url", true] - ] - end - - def maker_target(item) item.source end @@ -587,14 +572,6 @@ module RSS end private - def _attrs - [ - ["url", true], - ["length", true], - ["type", true], - ] - end - def maker_target(item) item.enclosure end @@ -629,12 +606,6 @@ module RSS end private - def _attrs - [ - ["domain", false] - ] - end - def maker_target(item) item.new_category end |