Package | Description |
---|---|
org.jruby |
Modifier and Type | Method and Description |
---|---|
void |
RubyModule.defineAnnotatedMethods(Class clazz) |
RubyClass |
Ruby.defineClass(String name,
RubyClass superClass,
ObjectAllocator allocator)
Define a new class under the Object namespace.
|
RubyClass |
Ruby.defineClassUnder(String name,
RubyClass superClass,
ObjectAllocator allocator,
RubyModule parent)
Define a new class with the given name under the given module or class
namespace.
|
void |
RubyModule.defineConstant(String name,
IRubyObject value)
rb_define_const
|
RubyModule |
Ruby.defineModule(String name)
Define a new module under the Object namespace.
|
RubyModule |
Ruby.defineModuleUnder(String name,
RubyModule parent)
Define a new module with the given name under the given module or
class namespace.
|
Copyright © 2001-2015 JRuby. All Rights Reserved.