Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

raise an error during IO.open that people expect if sth cannot be ope…

…ned. allows backports gem to load
  • Loading branch information...
commit 011081b8f734c00d662b49b29a22481946d2b81e 1 parent e42c050
@timfel timfel authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/kernel/bootstrap/IO.rb
View
2  src/kernel/bootstrap/IO.rb
@@ -321,7 +321,7 @@ def __increment_lineno
end
def self.open(int_fd, mode_string, &block)
- raise NotImplementedError, "IO.open not implemented"
+ raise StandardError, "IO.open not implemented"
end
def pid
Please sign in to comment.
Something went wrong with that request. Please try again.