Skip to content

Commit

Permalink
[Truffle] File.directory? must take an argument.
Browse files Browse the repository at this point in the history
nirvdrum committed Jan 3, 2015
1 parent b6a6cba commit dbdd06a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -88,7 +88,7 @@ public int delete(RubyString file) {

}

@CoreMethod(names = "directory?", onSingleton = true, optional = 1)
@CoreMethod(names = "directory?", onSingleton = true, required = 1)
public abstract static class DirectoryNode extends CoreMethodNode {

public DirectoryNode(RubyContext context, SourceSection sourceSection) {

0 comments on commit dbdd06a

Please sign in to comment.