a less obnoxious .inspect

git-svn-id: file:///home/svn/framework3/trunk@10974 4d416f70-5f16-0410-b530-b9f4589650da
unstable
James Lee 2010-11-10 23:04:01 +00:00
parent 85640627ab
commit 75cd356803
1 changed files with 4 additions and 0 deletions

View File

@ -86,6 +86,10 @@ class Archive
ret
end
def inspect
"#<#{self.class} entries = [#{@entries.map{|e| e.name}.join(",")}]>"
end
end
class Jar < Archive