lib/har/archive.rb in har-0.1.4 vs lib/har/archive.rb in har-0.1.5
- old
+ new
@@ -73,10 +73,10 @@
end
def entries_before(time)
raise TypeError, "expected Time" unless time.is_a?(Time)
entries.select do |entry|
- return false unless entry.time
+ next(false) unless entry.time
entry.started_date_time + entry.time / 1000.0 <= time
end
end
# create a new archive by merging this and another archive