some fixes for ruby 1.8.1

This commit is contained in:
Ward Wouts 2004-06-16 08:17:48 +00:00
parent 233fc507d8
commit 63d8c22721
7 changed files with 24 additions and 23 deletions

View file

@ -1,4 +1,4 @@
# $Dwarf: newsrc.rb,v 1.11 2002/11/05 09:33:41 ward Exp $
# $Dwarf: newsrc.rb,v 1.12 2003/07/20 20:32:01 ward Exp $
# $Source$
#
@ -204,7 +204,7 @@ def _insert(group, options)
if options.has_key?("where")
where = options["where"]
end
arg = where.slice!(1) if where.type.to_s == "Array"
arg = where.slice!(1) if where.class.to_s == "Array"
case where.to_s
when "first"