public class JRubyUtilLibrary extends java.lang.Object implements Library
Modifier and Type | Class and Description |
---|---|
static class |
JRubyUtilLibrary.StringUtils
Deprecated.
|
Constructor and Description |
---|
JRubyUtilLibrary() |
Modifier and Type | Method and Description |
---|---|
static IRubyObject |
cache_stats(ThreadContext context,
IRubyObject self)
Provide stats on how many method and constant invalidations have occurred globally.
|
static IRubyObject |
class_loader_resources(ThreadContext context,
IRubyObject recv,
IRubyObject... args) |
static IRubyObject |
classpath_launcher(ThreadContext context,
IRubyObject recv) |
static IRubyObject |
extra_gem_paths(ThreadContext context,
IRubyObject recv) |
static IRubyObject |
gc(ThreadContext context,
IRubyObject recv) |
static IRubyObject |
getClassLoaderResources(IRubyObject recv,
IRubyObject name)
Deprecated.
|
static IRubyObject |
getObjectSpaceEnabled(IRubyObject recv) |
static RubyArray |
internal_libraries(ThreadContext context,
IRubyObject self)
Return a list of files and extensions that JRuby treats as internal (or "built-in"),
skipping load path and filesystem search.
|
static IRubyObject |
load_ext(ThreadContext context,
IRubyObject recv,
IRubyObject klass)
Preffered way to boot-up JRuby extensions (available as
>JRuby.load_ext ). |
void |
load(Ruby runtime,
boolean wrap) |
static IRubyObject |
native_posix_p(ThreadContext context,
IRubyObject self) |
static IRubyObject |
set_meta_class(ThreadContext context,
IRubyObject recv,
IRubyObject obj,
IRubyObject klass) |
static IRubyObject |
setObjectSpaceEnabled(IRubyObject recv,
IRubyObject arg) |
public void load(Ruby runtime, boolean wrap) throws java.io.IOException
public static IRubyObject gc(ThreadContext context, IRubyObject recv)
public static IRubyObject getObjectSpaceEnabled(IRubyObject recv)
public static IRubyObject setObjectSpaceEnabled(IRubyObject recv, IRubyObject arg)
public static IRubyObject native_posix_p(ThreadContext context, IRubyObject self)
@Deprecated public static IRubyObject getClassLoaderResources(IRubyObject recv, IRubyObject name)
public static IRubyObject class_loader_resources(ThreadContext context, IRubyObject recv, IRubyObject... args)
context
- recv
- args
- (name, raw: false, path: false)public static IRubyObject classpath_launcher(ThreadContext context, IRubyObject recv)
public static IRubyObject extra_gem_paths(ThreadContext context, IRubyObject recv)
public static IRubyObject set_meta_class(ThreadContext context, IRubyObject recv, IRubyObject obj, IRubyObject klass)
public static IRubyObject load_ext(ThreadContext context, IRubyObject recv, IRubyObject klass)
>JRuby.load_ext
).context
- recv
- klass
- public static IRubyObject cache_stats(ThreadContext context, IRubyObject self)
public static RubyArray internal_libraries(ThreadContext context, IRubyObject self)
Copyright © 2001-2018 JRuby. All Rights Reserved.