class INotify::Notifier
def to_io
-
(NotImplementedError)
- if this is being called in JRuby
Returns:
-
(IO)
- An IO object wrapping the file descriptor
def to_io unless self.class.supports_ruby_io? raise NotImplementedError.new("INotify::Notifier#to_io is not supported under JRuby") end @io ||= IO.new(@fd) end