summaryrefslogtreecommitdiff
path: root/lib/rss/0.9.rb
diff options
context:
space:
mode:
authorkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-11-03 07:03:33 +0000
committerkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-11-03 07:03:33 +0000
commitb45e1493f866746bd989a1939180ebe9c6bd3ae2 (patch)
tree815db606a379a4c1e3055ad7f873ef2403d446e4 /lib/rss/0.9.rb
parent3d712cdd9d1f99c6bcc106898783bafe9d2c1cde (diff)
* 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
Diffstat (limited to 'lib/rss/0.9.rb')
-rw-r--r--lib/rss/0.9.rb10
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/rss/0.9.rb b/lib/rss/0.9.rb
index dd5f93b868..c772e80870 100644
--- a/lib/rss/0.9.rb
+++ b/lib/rss/0.9.rb
@@ -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