File tree 2 files changed +13
-13
lines changed
2 files changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -68,15 +68,15 @@ def read
68
68
end
69
69
end
70
70
71
- def stream?
72
- true
73
- end
71
+ # def stream?
72
+ # true
73
+ # end
74
74
75
- def call ( stream )
76
- IO . copy_stream ( @file , stream , @remaining )
77
- ensure
78
- stream . close
79
- end
75
+ # def call(stream)
76
+ # IO.copy_stream(@file, stream, @remaining)
77
+ # ensure
78
+ # stream.close
79
+ # end
80
80
81
81
def join
82
82
return "" if @remaining == 0
Original file line number Diff line number Diff line change 9
9
let ( :path ) { File . expand_path ( 'file_spec.txt' , __dir__ ) }
10
10
let ( :body ) { subject . open ( path ) }
11
11
12
- with '#stream?' do
13
- it "should be streamable" do
14
- expect ( body ) . to be ( :stream? )
15
- end
16
- end
12
+ # with '#stream?' do
13
+ # it "should be streamable" do
14
+ # expect(body).to be(:stream?)
15
+ # end
16
+ # end
17
17
18
18
with '#join' do
19
19
it "should read entire file" do
You can’t perform that action at this time.
0 commit comments