summaryrefslogtreecommitdiff
path: root/lib/rss/1.0.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rss/1.0.rb')
-rw-r--r--lib/rss/1.0.rb14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/rss/1.0.rb b/lib/rss/1.0.rb
index 6603d525d3..36d6f5df87 100644
--- a/lib/rss/1.0.rb
+++ b/lib/rss/1.0.rb
@@ -113,7 +113,7 @@ module RSS
def initialize(resource=nil)
super()
- @resource = resource
+ self.resource = resource
end
def full_name
@@ -293,7 +293,7 @@ module RSS
def initialize(about=nil)
super()
- @about = about
+ self.about = about
end
def to_s(need_convert=true, indent=calc_indent)
@@ -364,7 +364,7 @@ module RSS
def initialize(resource=nil)
super()
- @resource = resource
+ self.resource = resource
end
def to_s(need_convert=true, indent=calc_indent)
@@ -401,7 +401,7 @@ module RSS
def initialize(resource=nil)
super()
- @resource = resource
+ self.resource = resource
end
def to_s(need_convert=true, indent=calc_indent)
@@ -509,7 +509,7 @@ module RSS
def initialize(about=nil)
super()
- @about = about
+ self.about = about
end
def to_s(need_convert=true, indent=calc_indent)
@@ -579,7 +579,7 @@ module RSS
def initialize(about=nil)
super()
- @about = about
+ self.about = about
end
def to_s(need_convert=true, indent=calc_indent)
@@ -654,7 +654,7 @@ module RSS
def initialize(about=nil)
super()
- @about = about
+ self.about = about
end
def to_s(need_convert=true, indent=calc_indent)