Skip to content

Commit ad7f0e0

Browse files
committed
1 parent 4610d08 commit ad7f0e0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Valkyrie::Storage::Fedora expects io objects to have #length
2+
class ::File
3+
alias_method :length, :size unless ::File.respond_to? :length
4+
end

0 commit comments

Comments
 (0)