From d5149b8e23a0f17c7881a2f0da595b7e8e3af32b Mon Sep 17 00:00:00 2001 From: James Lee Date: Thu, 19 Aug 2010 17:04:42 +0000 Subject: [PATCH] less verbose Entry#inspect git-svn-id: file:///home/svn/framework3/trunk@10056 4d416f70-5f16-0410-b530-b9f4589650da --- lib/rex/zip/entry.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/rex/zip/entry.rb b/lib/rex/zip/entry.rb index 7b38ba1744..32614b5612 100644 --- a/lib/rex/zip/entry.rb +++ b/lib/rex/zip/entry.rb @@ -89,6 +89,10 @@ class Entry ret end + def inspect + "#<#{self.class} name:#{name}, data:#{@data.length} bytes>" + end + end end