Skip to content

Commit

Permalink
Fixes #1201. Pathname#delete alias missing / not working
Browse files Browse the repository at this point in the history
  • Loading branch information
enebo committed Nov 5, 2013
1 parent f45d038 commit f196b81
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ public IRubyObject each_entry(ThreadContext context, Block block) {

/* Mix of File and Dir */

@JRubyMethod
@JRubyMethod(name = {"unlink", "delete"})
public IRubyObject unlink(ThreadContext context) {
try {
return context.runtime.getDir().callMethod(context, "unlink", path);
Expand Down

0 comments on commit f196b81

Please sign in to comment.