Permalink
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...
1 parent e42c050 commit 011081b8f734c00d662b49b29a22481946d2b81e @timfel timfel committed Aug 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 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

0 comments on commit 011081b

Please sign in to comment.