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 |
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 arg) |
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.
|
void |
load(Ruby runtime,
boolean wrap) |
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 getClassLoaderResources(IRubyObject recv, IRubyObject arg)
public static IRubyObject classpath_launcher(ThreadContext context, IRubyObject recv)
public static IRubyObject extra_gem_paths(ThreadContext context, IRubyObject recv)
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.