Class: Ukiryu::StandardError
- Inherits:
-
Object
- Object
- Ukiryu::StandardError
- Defined in:
- lib/ukiryu/io.rb
Direct Known Subclasses
Constant Summary collapse
- FILENO =
The stderr file descriptor
2
Class Method Summary collapse
-
.stderr?(path) ⇒ Boolean
Check if a path represents stderr.
Class Method Details
.stderr?(path) ⇒ Boolean
Check if a path represents stderr
191 192 193 194 |
# File 'lib/ukiryu/io.rb', line 191 def self.stderr?(path) path = path.to_s if path.is_a?(Symbol) [:stderr, '/dev/stderr'].include?(path) end |