summaryrefslogtreecommitdiff
path: root/lib/rss/maker/image.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rss/maker/image.rb')
-rw-r--r--lib/rss/maker/image.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/rss/maker/image.rb b/lib/rss/maker/image.rb
index 6b8f4f8e577..06084b4af46 100644
--- a/lib/rss/maker/image.rb
+++ b/lib/rss/maker/image.rb
@@ -17,7 +17,7 @@ module RSS
class ImageItem < ImageItemBase
DublinCoreModel.install_dublin_core(self)
end
- EOC
+EOC
end
class ImageItemBase < Base
@@ -29,9 +29,9 @@ module RSS
add_need_initialize_variable("image_width")
add_need_initialize_variable("image_height")
alias width= image_width=
- alias width image_width
+ alias width image_width
alias height= image_height=
- alias height image_height
+ alias height image_height
def have_required_values?
@about
@@ -73,9 +73,9 @@ module RSS
alias size image_size
alias size= image_size=
- def have_required_values?
- @about and @image_size
- end
+ def have_required_values?
+ @about and @image_size
+ end
def to_feed(feed, current)
if current.respond_to?(:image_favicon=) and have_required_values?