lib/psd/layer_info.rb in psd-1.4.3 vs lib/psd/layer_info.rb in psd-1.4.4
- old
+ new
@@ -13,11 +13,15 @@
@length = length
@section_end = @file.tell + @length
@data = {}
end
+ def skip
+ @file.seek @section_end
+ end
+
# Override this - default seeks to end of section
def parse
- @file.seek @section_end
+ skip
end
end
end
\ No newline at end of file