Permalink
Browse files

Fixes #1201. Pathname#delete alias missing / not working

  • Loading branch information...
1 parent f45d038 commit f196b81db3ba0f07a6b780dba525cfb4c867a6ef @enebo enebo committed Nov 5, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/src/main/java/org/jruby/ext/pathname/RubyPathname.java
@@ -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);

0 comments on commit f196b81

Please sign in to comment.