Permalink
Browse files

Fix inspecting slots

  • Loading branch information...
1 parent 1a4eb58 commit 6865d5c585f00ab3999528f931f5727b9b9007f6 @vasi committed Feb 7, 2012
Showing with 4 additions and 6 deletions.
  1. +4 −6 icq-mac-export.rb
View
@@ -150,7 +150,7 @@ def initialize(io)
@data = io.read(length - hdrlen)
@sig = @data[0, 4].reverse
- # Pad to multiple of alignment
+ # Pad to multiple of alignment
contentlen = length + 4
align = 64
q, r = contentlen.divmod(align)
@@ -159,11 +159,9 @@ def initialize(io)
end
include CustomPrinter
- def inspect
- def pretty_print_instance_variables
- %w[length type dat_id pos sig]
- end
- end
+ def pretty_print_instance_variables
+ %w[length type dat_id pos sig]
+ end
end
attr_reader :header, :slots

0 comments on commit 6865d5c

Please sign in to comment.