summaryrefslogtreecommitdiff
path: root/lib/rss/maker/itunes.rb
diff options
context:
space:
mode:
authorkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-06-29 08:34:40 +0000
committerkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-06-29 08:34:40 +0000
commitf6c7804c16e019bda446bebc17f32049880277cd (patch)
treef131b9810b00a7e7d68ff37dff5f753da109adce /lib/rss/maker/itunes.rb
parentb9f895e9c8e5d27922ba8883dad622a3ef8a44ca (diff)
* lib/rss/maker/base.rb, lib/rss/maker/itunes.rb: don't use
instance_eval to initialize variables. (speed up) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rss/maker/itunes.rb')
-rw-r--r--lib/rss/maker/itunes.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rss/maker/itunes.rb b/lib/rss/maker/itunes.rb
index 7c5049129d..8b7420da3c 100644
--- a/lib/rss/maker/itunes.rb
+++ b/lib/rss/maker/itunes.rb
@@ -176,7 +176,7 @@ module RSS
%w(hour minute second).each do |name|
attr_reader(name)
- add_need_initialize_variable(name, '0')
+ add_need_initialize_variable(name, 0)
end
def content=(content)