summaryrefslogtreecommitdiff
path: root/lib/rss
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-11-02 06:28:52 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-11-02 06:28:52 +0000
commit7f018bde09070604ccd664819578d2842c161d6c (patch)
tree504537cfbb6573ccb0e67dae004f1fcfda9679d0 /lib/rss
parentd04b7871a12fa2ddbe518f53da9632d0bb37b906 (diff)
* error.c (Init_Exception): make NameError to be subclass of
StandardError again. * error.c (Init_Exception): make SecurityError to be subclass of Exception, since it's too important to be handled implicitly. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rss')
-rw-r--r--lib/rss/atom.rb14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/rss/atom.rb b/lib/rss/atom.rb
index 7cba934feb..5da75cee37 100644
--- a/lib/rss/atom.rb
+++ b/lib/rss/atom.rb
@@ -58,7 +58,7 @@ module RSS
end
def setup_maker_element(target)
- target.__send__(setup_maker_element_writer, content)
+ target.__send(setup_maker_element_writer, content)
super
end
end
@@ -131,7 +131,7 @@ module RSS
private
def maker_target(target)
- target.__send__(self.class.name.split(/::/).last.downcase) {|x| x}
+ target.__send(self.class.name.split(/::/).last.downcase) {|x| x}
end
def setup_maker_attributes(target)
@@ -156,7 +156,7 @@ module RSS
end
def maker_target(target)
- target.__send__("new_#{self.class.name.split(/::/).last.downcase}")
+ target.__send("new_#{self.class.name.split(/::/).last.downcase}")
end
class Name < RSS::Element
@@ -227,7 +227,7 @@ module RSS
["entry", "*", :children, "entries"],
].each do |tag, occurs, type, *args|
type ||= :child
- __send__("install_have_#{type}_element",
+ __send("install_have_#{type}_element",
tag, URI, occurs, tag, *args)
end
@@ -405,7 +405,7 @@ module RSS
["updated", nil, :child, :content],
].each do |tag, occurs, type, *args|
type ||= :attribute
- __send__("install_have_#{type}_element",
+ __send("install_have_#{type}_element",
tag, URI, occurs, tag, *args)
end
@@ -603,7 +603,7 @@ module RSS
["updated", "?", nil, :content],
].each do |tag, occurs, type, *args|
type ||= :attribute
- __send__("install_have_#{type}_element",
+ __send("install_have_#{type}_element",
tag, URI, occurs, tag, *args)
end
@@ -655,7 +655,7 @@ module RSS
["updated", nil, nil, :content],
].each do |tag, occurs, type, *args|
type ||= :attribute
- __send__("install_have_#{type}_element",
+ __send("install_have_#{type}_element",
tag, URI, occurs, tag, *args)
end