Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/ole/ranges_io.rb
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def eof?

# read bytes from file, to a maximum of +limit+, or all available if unspecified.
def read limit=nil
data = ''
data = ''.dup
return data if eof?
limit ||= size
pos, len = @ranges[@active]
Expand Down