|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.codehaus.waffle.controller.RubyController
public class RubyController
Ruby wrapper that uses the underlying Ruby runtime to invoke the scripted controller execute method.
| Constructor Summary | |
|---|---|
RubyController(org.jruby.runtime.builtin.IRubyObject rubyObject)
|
|
| Method Summary | |
|---|---|
java.lang.Object |
execute()
This will invoke the method on the ruby object instance this controller is maintaining. |
org.jruby.runtime.builtin.IRubyObject |
getScriptObject()
|
void |
setMethodName(java.lang.String methodName)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RubyController(org.jruby.runtime.builtin.IRubyObject rubyObject)
| Method Detail |
|---|
public void setMethodName(java.lang.String methodName)
setMethodName in interface ScriptedControllerpublic org.jruby.runtime.builtin.IRubyObject getScriptObject()
getScriptObject in interface ScriptedControllerpublic java.lang.Object execute()
execute in interface ScriptedController
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||