com.dotmarketing.scripting.util
Class JRubyUtil

java.lang.Object
  extended by com.dotmarketing.scripting.util.JRubyUtil

public class JRubyUtil
extends java.lang.Object


Constructor Summary
JRubyUtil()
           
 
Method Summary
 org.jruby.RubyObject callMethod(org.jruby.RubyObject receiver, java.lang.String methodName)
           
 void enableWarning()
           
 java.lang.Object evalScript(java.lang.String script)
           
static java.lang.Object getAttribute(org.jruby.RubyObject object, java.lang.String attributeName)
           
static void listInstanceVariables(java.lang.String name, org.jruby.RubyObject object)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JRubyUtil

public JRubyUtil()
Method Detail

callMethod

public org.jruby.RubyObject callMethod(org.jruby.RubyObject receiver,
                                       java.lang.String methodName)

enableWarning

public void enableWarning()

evalScript

public java.lang.Object evalScript(java.lang.String script)

getAttribute

public static java.lang.Object getAttribute(org.jruby.RubyObject object,
                                            java.lang.String attributeName)

listInstanceVariables

public static void listInstanceVariables(java.lang.String name,
                                         org.jruby.RubyObject object)


Copyright © 2013 dotCMS Inc. All Rights Reserved.