Package org.jruby.javasupport.ext
Class Module
java.lang.Object
org.jruby.javasupport.ext.Module
Module Java extensions, namely java_import and include_package.
- Author:
- kares
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
define
(ThreadContext context, RubyClass _Module) static IRubyObject
import_
(ThreadContext context, IRubyObject self, IRubyObject arg, Block block) static IRubyObject
include_package
(ThreadContext context, IRubyObject self, IRubyObject pkg) static IRubyObject
java_alias
(ThreadContext context, IRubyObject self, IRubyObject new_id, IRubyObject old_id) static IRubyObject
java_import
(ThreadContext context, IRubyObject self, IRubyObject[] args, Block block) static IRubyObject
java_import
(ThreadContext context, IRubyObject self, IRubyObject arg, Block block)
-
Constructor Details
-
Module
public Module()
-
-
Method Details
-
define
-
import_
public static IRubyObject import_(ThreadContext context, IRubyObject self, IRubyObject arg, Block block) -
java_import
public static IRubyObject java_import(ThreadContext context, IRubyObject self, IRubyObject arg, Block block) -
java_import
public static IRubyObject java_import(ThreadContext context, IRubyObject self, IRubyObject[] args, Block block) -
java_alias
public static IRubyObject java_alias(ThreadContext context, IRubyObject self, IRubyObject new_id, IRubyObject old_id) -
include_package
-