| Package | Description |
|---|---|
| org.jruby | |
| org.jruby.util |
| Modifier and Type | Field and Description |
|---|---|
protected FileResource |
RubyDir.dir |
| Modifier and Type | Method and Description |
|---|---|
static FileResource |
RubyFile.fileResource(IRubyObject pathOrFile)
Get the fully-qualified JRubyFile object for the path, taking into
account the runtime's current directory.
|
static FileResource |
RubyFile.fileResource(ThreadContext context,
IRubyObject pathOrFile) |
| Modifier and Type | Method and Description |
|---|---|
protected static java.util.List<java.lang.String> |
RubyDir.getContents(FileResource directory)
Returns the contents of the specified
directory as an
ArrayList containing the names of the files as Java Strings. |
protected static java.util.List<RubyString> |
RubyDir.getContents(FileResource directory,
Ruby runtime)
Returns the contents of the specified
directory as an
ArrayList containing the names of the files as Ruby Strings. |
| Modifier and Type | Class and Description |
|---|---|
class |
ClasspathResource |
class |
URLResource |
| Modifier and Type | Method and Description |
|---|---|
static FileResource |
URLResource.create(Ruby runtime,
java.lang.String pathname) |
static FileResource |
ClasspathResource.create(java.lang.String pathname) |
static FileResource |
URLResource.createClassloaderURI(Ruby runtime,
java.lang.String pathname) |
static FileResource |
JRubyFile.createResource(jnr.posix.POSIX posix,
Ruby runtime,
java.lang.String cwd,
java.lang.String pathname) |
static FileResource |
JRubyFile.createResource(jnr.posix.POSIX posix,
java.lang.String cwd,
java.lang.String pathname) |
static FileResource |
JRubyFile.createResource(Ruby runtime,
java.lang.String pathname) |
static FileResource |
JRubyFile.createResource(ThreadContext context,
java.lang.String pathname) |
Copyright © 2002-2009 JRuby Team. All Rights Reserved.