lib/bulldog/attachment/has_dimensions.rb in bulldog-0.0.13 vs lib/bulldog/attachment/has_dimensions.rb in bulldog-0.0.14
- old
+ new
@@ -85,10 +85,10 @@
dimensions.join('x')
end
def deserialize_dimensions(string)
return nil if string.blank?
- string.scan(/\d+/).map(&:to_i)
+ string.scan(/\d+/).map{|s| s.to_i}
end
end
end
end