public interface EmbedRubyInterfaceAdapter
Modifier and Type | Method and Description |
---|---|
<T> T |
getInstance(Object receiver,
Class<T> clazz)
Returns a instance of requested interface type from a previously evaluated script.
|
<T> T getInstance(Object receiver, Class<T> clazz)
receiver
- a receiver of the previously evaluated script.clazz
- an interface type of the returning instance.Copyright © 2001-2014 JRuby. All Rights Reserved.