From 0eb89ac4bef165b1012f418bdec264e73c30bec2 Mon Sep 17 00:00:00 2001 From: Laurent Sansonetti Date: Wed, 29 Oct 2014 13:40:55 +0100 Subject: [PATCH] mention underscore-based notation support --- NEWS-pre | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/NEWS-pre b/NEWS-pre index ada9db46..03da2090 100644 --- a/NEWS-pre +++ b/NEWS-pre @@ -12,7 +12,9 @@ in Java. In order to do so, a .java file has to be created in a directory where Ruby files reside (ex. `app'). The basename of the .java file should be the name of the class to extend, and its content will be copied inside - the class definition. (ex. `public int foo() { return 42; }'). + the class definition. (ex. `public int foo() { return 42; }'). The basename + can also use the underscore-based notation, and the build system will then + translate it to the actual class name (ex. `my_service.rb' -> `MyService'). * Added Array#{*, count, pop, shift, reverse, reverse!}. * Fixed Array#{first, last} in order to take an argument. * Fixed a bug in the runtime when calling ambiguous Java methods where a