| 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.
|
| Modifier and Type | Method and Description |
|---|---|
protected static List<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 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 | Method and Description |
|---|---|
static FileResource |
JRubyFile.createResource(Ruby runtime,
String pathname) |
static FileResource |
JRubyFile.createResource(String cwd,
String pathname) |
static FileResource |
JRubyFile.createResource(ThreadContext context,
String pathname) |
Copyright © 2001-2014 JRuby. All Rights Reserved.