mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 08:33:58 +02:00
* 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:
parent
3d712cdd9d
commit
b45e1493f8
17 changed files with 95 additions and 24 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue