Change to an assignment, ruby warnings about a void context (which is true)
git-svn-id: file:///home/svn/framework3/trunk@3746 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
ff28b148d1
commit
1af7c1dd23
|
@ -507,7 +507,7 @@ module Text
|
|||
# Returns true if zlib can be used.
|
||||
def self.zlib_present?
|
||||
begin
|
||||
Zlib
|
||||
temp = Zlib
|
||||
return true
|
||||
rescue
|
||||
return false
|
||||
|
|
Loading…
Reference in New Issue