Skip to content

Commit 8f553e8

Browse files
committedDec 7, 2014
Fix for IO#closed?
1 parent 888a1cf commit 8f553e8

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed
 

‎opal/opal/rspec/fixes.rb

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
# IO.closed? missing - BaseFormatter uses it for sync impl
2+
class IO
3+
def closed?
4+
false
5+
end
6+
end
7+
18
# Opal defines enumerable#flat_map, but doesnt implement it
29
module RSpec::Core::FlatMap
310
def flat_map(array)

0 commit comments

Comments
 (0)
Please sign in to comment.