Modifier and Type | Class and Description |
---|---|
static class |
Timeout.TimeoutToplevel |
Constructor and Description |
---|
Timeout() |
Modifier and Type | Method and Description |
---|---|
void |
load(Ruby runtime,
boolean wrap) |
static IRubyObject |
timeout(ThreadContext context,
IRubyObject timeout,
IRubyObject seconds,
Block block) |
static IRubyObject |
timeout(ThreadContext context,
IRubyObject timeout,
IRubyObject seconds,
IRubyObject exceptionType,
Block block) |
public void load(Ruby runtime, boolean wrap) throws IOException
load
in interface Library
IOException
public static IRubyObject timeout(ThreadContext context, IRubyObject timeout, IRubyObject seconds, Block block)
public static IRubyObject timeout(ThreadContext context, IRubyObject timeout, IRubyObject seconds, IRubyObject exceptionType, Block block)
Copyright © 2001-2015 JRuby. All Rights Reserved.