singleton method Errno::EXXX.new
new() -> Errno::EXXX
new(error_message) -> Errno::EXXX
-
Errno::EXXX オブジェクトを生成して返します。
- [PARAM] error_message:
- エラーメッセージを表す文字列
p Errno::ENOENT # => #<Errno::ENOENT: No such file or directory> p Errno::ENOENT('message') # => #<Errno::ENOENT: No such file or directory - message>
class Errno::EXXX