mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/rss/rss.rb (RSS::Element#tag): not use block_given? for
working with ruby 1.6 again. * lib/rss/{0.9,2.0,trackback}.rb, lib/rss/maker/base.rb: undef -> remove_method for working with ruby 1.6 again. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
b684f87574
commit
0c616db7ff
6 changed files with 22 additions and 14 deletions
|
@ -11,7 +11,7 @@ module RSS
|
|||
install_model(x, '?')
|
||||
end
|
||||
|
||||
undef :ttl=
|
||||
remove_method :ttl=
|
||||
def ttl=(value)
|
||||
@ttl = value.to_i
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue