Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Suppress warning by adding 'true' to instance_methods

  • Loading branch information...
commit 74ee6782ef09dc170a029dafeb03cf2bdce5aca1 1 parent cc62a44
rmagick authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/RMagick.rb
View
4 lib/RMagick.rb
@@ -1,4 +1,4 @@
-# $Id: RMagick.rb,v 1.33 2005/09/13 23:37:21 rmagick Exp $
+# $Id: RMagick.rb,v 1.34 2005/10/17 22:17:38 rmagick Exp $
#==============================================================================
# Copyright (C) 2005 by Timothy P. Hunter
# Name: RMagick.rb
@@ -1225,7 +1225,7 @@ def find_all(&block)
return a
end
- if self.superclass.instance_methods.include? 'insert' then
+ if self.superclass.instance_methods(true).include? 'insert' then
def insert(*args)
raise(ArgumentError, "can't insert nil") unless args.length > 1
is_a_image_array args[1,args.length-1]
Please sign in to comment.
Something went wrong with that request. Please try again.