org.codehaus.waffle.controller
Class RubyController
java.lang.Object
org.codehaus.waffle.controller.RubyController
public class RubyController
- extends java.lang.Object
This is a wrapper for the underlying ruby script
Constructor Summary |
RubyController(org.jruby.runtime.builtin.IRubyObject rubyObject)
|
Method Summary |
java.lang.Object |
execute(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
org.jruby.runtime.builtin.IRubyObject |
getRubyObject()
|
void |
setMethodName(java.lang.String methodName)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RubyController
public RubyController(org.jruby.runtime.builtin.IRubyObject rubyObject)
setMethodName
public void setMethodName(java.lang.String methodName)
getRubyObject
public org.jruby.runtime.builtin.IRubyObject getRubyObject()
execute
public java.lang.Object execute(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Copyright © 2007 null. All Rights Reserved.