Janko Marohnić 04d1030756 Always rewind the given IO
When an error occured when extracting dimensions, rewinding would be
skipped and the code would jump straight to "rescue" statements. We want
that the IO is always rewinded, even in case of errors.

Note that this doesn't affect the return value of the method, because
the return value of a method-level "ensure" is always ignored by Ruby.
2016-03-08 21:09:42 +07:00
..
2015-03-04 15:21:32 +08:00
2016-03-08 21:09:42 +07:00