* test/rss/test_maker_*.rb: added tests for RSS Maker.

* lib/rss/maker.rb: added RSS Maker.
* lib/rss/maker/*.rb: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
kou 2004-11-03 07:03:33 +00:00
parent 3d712cdd9d
commit b45e1493f8
17 changed files with 95 additions and 24 deletions

View file

@ -51,6 +51,14 @@ module RSS
end
end
def textinput
if @channel
@channel.textInput
else
nil
end
end
def to_s(convert=true, indent=calc_indent)
next_indent = indent + INDENT
rv = <<-EOR
@ -252,7 +260,7 @@ EOT
install_get_attribute(name, uri, required)
end
def initialize(domain, port, path, rp, protocol)
def initialize(domain=nil, port=nil, path=nil, rp=nil, protocol=nil)
super()
@domain = domain
@port = port