Java Doc for RubyObject.java in  » Scripting » jruby » org » jruby » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Scripting » jruby » org.jruby 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.jruby.RubyObject

All known Subclasses:   org.jruby.RubyMethod,  org.jruby.RubyModule,  org.jruby.RubyArray,  org.jruby.RubyThreadGroup,  org.jruby.RubyFileStat,  org.jruby.RubyNumeric,  org.jruby.javasupport.JavaObject,  org.jruby.RubyIO,  org.jruby.RubyArgsFile,  org.jruby.RubyMatchData,  org.jruby.RubyRegexp,  org.jruby.RubyHash,  org.jruby.RubyString,  org.jruby.RubyStruct,  org.jruby.RubyRange,  org.jruby.RubyStringScanner,  org.jruby.RubyIconv,  org.jruby.RubyThread,  org.jruby.RubyProc,  org.jruby.javasupport.proxy.JavaProxyReflectionObject,  org.jruby.RubyBoolean,  org.jruby.javasupport.JavaAccessibleObject,  org.jruby.RubyTime,  org.jruby.RubyBinding,  org.jruby.RubyException,  org.jruby.RubyEnumerator,  org.jruby.RubyDir,  org.jruby.RubyNil,  org.jruby.RubyClassPathVariable,  org.jruby.RubyStringIO,  org.jruby.RubySymbol,
RubyObject
public class RubyObject implements Cloneable,IRubyObject(Code)

author:
   jpetersen

Inner Class :public class Finalizer implements Finalizable

Field Summary
final public static  IRubyObjectNEVER
    
public static  ObjectAllocatorOBJECT_ALLOCATOR
    
protected  MapinstanceVariables
    
protected  booleanisTrue
    
protected  RubyClassmetaClass
    

Constructor Summary
public  RubyObject(Ruby runtime, RubyClass metaClass)
    
public  RubyObject(Ruby runtime, RubyClass metaClass, boolean useObjectSpace)
    

Method Summary
public  voidaddFinalizer(RubyProc finalizer)
    
public  IRubyObjectanyToString()
    
public  RubyStringasString()
    
public  StringasSymbol()
    
public  voidattachToObjectSpace()
    
public  voidcallInit(IRubyObject[] args, Block block)
    
public  IRubyObjectcallMethod(ThreadContext context, String name, IRubyObject[] args)
    
public  IRubyObjectcallMethod(ThreadContext context, String name, IRubyObject[] args, Block block)
    
public  IRubyObjectcallMethod(ThreadContext context, String name, IRubyObject[] args, CallType callType)
    
public  IRubyObjectcallMethod(ThreadContext context, String name, IRubyObject[] args, CallType callType, Block block)
    
public  IRubyObjectcallMethod(ThreadContext context, int methodIndex, String name, IRubyObject arg)
    
public  IRubyObjectcallMethod(ThreadContext context, int methodIndex, String name, IRubyObject[] args)
    
public  IRubyObjectcallMethod(ThreadContext context, int methodIndex, String name, IRubyObject[] args, CallType callType)
    
public  IRubyObjectcallMethod(ThreadContext context, RubyModule rubyclass, int methodIndex, String name, IRubyObject[] args, CallType callType)
    
public  IRubyObjectcallMethod(ThreadContext context, RubyModule rubyclass, int methodIndex, String name, IRubyObject[] args, CallType callType, Block block)
    
public  IRubyObjectcallMethod(ThreadContext context, RubyModule rubyclass, String name, IRubyObject[] args, CallType callType, Block block)
    
public  IRubyObjectcallMethod(ThreadContext context, String name)
    
public  IRubyObjectcallMethod(ThreadContext context, int methodIndex, String name)
    
public  IRubyObjectcallMethod(ThreadContext context, String name, Block block)
    
public  IRubyObjectcallMethod(ThreadContext context, String name, IRubyObject arg)
    
public static  IRubyObjectcallMethodMissing(ThreadContext context, IRubyObject receiver, DynamicMethod method, String name, int methodIndex, IRubyObject[] args, IRubyObject self, CallType callType, Block block)
    
public static  IRubyObjectcallMethodMissing(ThreadContext context, IRubyObject receiver, DynamicMethod method, String name, IRubyObject[] args, IRubyObject self, CallType callType, Block block)
    
public  IRubyObjectcallSuper(ThreadContext context, IRubyObject[] args, Block block)
    
public  IRubyObjectcheckArrayType()
    
protected  voidcheckFrozen()
    
public  IRubyObjectcheckStringType()
    
public  IRubyObjectcompilerCallMethod(ThreadContext context, String name, IRubyObject[] args, IRubyObject self, CallType callType, Block block)
    
public  IRubyObjectcompilerCallMethodWithIndex(ThreadContext context, int methodIndex, String name, IRubyObject[] args, IRubyObject self, CallType callType, Block block)
     Used by the compiler to ease calling indexed methods, also to handle visibility.
public  RubyArrayconvertToArray()
    
public  RubyFloatconvertToFloat()
    
public  RubyHashconvertToHash()
    
public  RubyIntegerconvertToInteger()
    
public  RubyStringconvertToString()
    
public  IRubyObjectconvertToType(RubyClass targetType, int convertMethodIndex, String convertMethod, boolean raise)
    
public  IRubyObjectconvertToType(RubyClass targetType, int convertMethodIndex, boolean raise)
    
public  IRubyObjectconvertToType(RubyClass targetType, int convertMethodIndex, String convertMethod, boolean raiseOnMissingMethod, boolean raiseOnWrongTypeResult, boolean allowNilThrough)
    
public  IRubyObjectconvertToTypeWithCheck(RubyClass targetType, int convertMethodIndex, String convertMethod)
    
public static  RubyClasscreateObjectClass(Ruby runtime, RubyClass objectClass)
    
public synchronized  ObjectdataGetStruct()
    
public synchronized  voiddataWrapStruct(Object obj)
    
public  IRubyObjectdisplay(IRubyObject[] args)
    
protected  IRubyObjectdoClone()
    
public  IRubyObjectdup()
    
public  booleaneql(IRubyObject other)
     rb_eql this method is not defind for Ruby objects directly.
final public  booleaneqlInternal(ThreadContext context, IRubyObject other)
    
public  IRubyObjectequal(IRubyObject other)
    
final public  IRubyObjectequalInternal(ThreadContext context, IRubyObject other)
    
public  booleanequals(Object other)
     This method is just a wrapper around the Ruby "==" method, provided so that RubyObjects can be used as keys in the Java HashMap object underlying RubyHash.
public  IRubyObjectevalSimple(ThreadContext context, IRubyObject src, String file)
    
public  IRubyObjectevalUnder(RubyModule under, IRubyObject src, IRubyObject file, IRubyObject line)
    
public  IRubyObjectevalWithBinding(ThreadContext context, IRubyObject src, IRubyObject scope, String file, int lineNumber)
    
public  IRubyObjectextend(IRubyObject[] args)
    
public  IRubyObjectfreeze()
     Freeze an object.
public  RubyBooleanfrozen()
    
public  IRubyObjectgetInstanceVariable(String name)
    
public  MapgetInstanceVariables()
    
public  MapgetInstanceVariablesSnapshot()
     Returns an unmodifiable snapshot of the current state of instance variables.
public  ClassgetJavaClass()
    
final public  RubyClassgetMetaClass()
     if exist return the meta-class else return the type of the object.
public  intgetNativeTypeIndex()
     This is overridden in the other concrete Java builtins to provide a fast way to determine what type they are.
public  RubygetRuntime()
     Getter for property ruby.
public  RubyClassgetSingletonClass()
    
public  RubyClassgetSingletonClassClone()
    
public  RubyClassgetType()
    
public  RubyFixnumhash()
    
public  inthashCode()
    
public synchronized  RubyFixnumid()
     Return the internal id of an object.
public synchronized  RubyFixnumid_deprecated()
    
public  IRubyObjectinfectBy(IRubyObject obj)
    
public  IRubyObjectinherited(IRubyObject arg, Block block)
    
public static  voidinitCopy(IRubyObject clone, IRubyObject original)
    
public  IRubyObjectinitialize(IRubyObject[] args, Block block)
    
public  IRubyObjectinitialize_copy(IRubyObject original)
    
public  IRubyObjectinspect()
    
public  IteratorinstanceVariableNames()
    
public  IRubyObjectinstance_eval(IRubyObject[] args, Block block)
    
public  IRubyObjectinstance_exec(IRubyObject[] args, Block block)
    
public  RubyBooleaninstance_of(IRubyObject type)
    
public  IRubyObjectinstance_variable_get(IRubyObject var)
    
public  IRubyObjectinstance_variable_set(IRubyObject var, IRubyObject value)
    
public  RubyArrayinstance_variables()
    
final public  booleanisFalse()
    
public  booleanisFrozen()
     Gets the frozen.
public  booleanisImmediate()
    
public  booleanisKindOf(RubyModule type)
    
public  booleanisNil()
    
public  booleanisSingleton()
    
public  booleanisTaint()
     Gets the taint.
final public  booleanisTrue()
    
public  RubyBooleankind_of(IRubyObject type)
    
public  RubyClassmakeMetaClass(RubyClass superClass, SinglyLinkedList parentCRef)
     Create a new meta class.
public  IRubyObjectmatch(IRubyObject arg)
    
public  IRubyObjectmethod(IRubyObject symbol)
    
public  IRubyObjectmethods(IRubyObject[] args)
    
public  IRubyObjectnil_p()
    
public  IRubyObjectobj_equal(IRubyObject obj)
    
public  IRubyObjectprivate_methods(IRubyObject[] args)
    
public  IRubyObjectprotected_methods(IRubyObject[] args)
    
public  IRubyObjectpublic_methods(IRubyObject[] args)
    
public static  voidputs(Object obj)
    
public  IRubyObjectrbClone(Block unusedBlock)
    
public  voidremoveFinalizers()
    
public  IRubyObjectremoveInstanceVariable(String name)
    
public  IRubyObjectremove_instance_variable(IRubyObject name, Block block)
    
public  RubyBooleanrespond_to(IRubyObject[] args)
     respond_to?( aSymbol, includePriv=false ) -> true or false Returns true if this object responds to the given method.
public  booleanrespondsTo(String name)
    
public  MapsafeGetInstanceVariables()
    
public  booleansafeHasInstanceVariables()
    
public  IRubyObjectsend(IRubyObject[] args, Block block)
     send( aSymbol [, args ]* ) -> anObject Invokes the method identified by aSymbol, passing it any arguments specified.
public  voidsetFrozen(boolean frozen)
     Sets the frozen.
public  IRubyObjectsetInstanceVariable(String name, IRubyObject value, String taintError, String freezeError)
    
public  IRubyObjectsetInstanceVariable(String name, IRubyObject value)
    
public  voidsetInstanceVariables(Map instanceVariables)
    
public  voidsetMetaClass(RubyClass metaClass)
    
public  voidsetTaint(boolean taint)
     Sets the taint.
public  RubyArraysingleton_methods(IRubyObject[] args)
    
public  IRubyObjectspecificEval(RubyModule mod, IRubyObject[] args, Block block)
    
public  IRubyObjecttaint()
    
public  RubyBooleantainted()
    
protected  voidtestFrozen(String message)
    
public  StringtoString()
    
public  IRubyObjectto_s()
    
public static  StringtrueFalseNil(IRubyObject v)
    
public static  StringtrueFalseNil(String v)
    
public  RubyClasstype()
    
public  RubyClasstype_deprecated()
    
public  IRubyObjectuntaint()
    

Field Detail
NEVER
final public static IRubyObject NEVER(Code)



OBJECT_ALLOCATOR
public static ObjectAllocator OBJECT_ALLOCATOR(Code)



instanceVariables
protected Map instanceVariables(Code)



isTrue
protected boolean isTrue(Code)



metaClass
protected RubyClass metaClass(Code)




Constructor Detail
RubyObject
public RubyObject(Ruby runtime, RubyClass metaClass)(Code)



RubyObject
public RubyObject(Ruby runtime, RubyClass metaClass, boolean useObjectSpace)(Code)




Method Detail
addFinalizer
public void addFinalizer(RubyProc finalizer)(Code)



anyToString
public IRubyObject anyToString()(Code)



asString
public RubyString asString()(Code)
rb_obj_as_string



asSymbol
public String asSymbol()(Code)
rb_to_id



attachToObjectSpace
public void attachToObjectSpace()(Code)



callInit
public void callInit(IRubyObject[] args, Block block)(Code)



callMethod
public IRubyObject callMethod(ThreadContext context, String name, IRubyObject[] args)(Code)



callMethod
public IRubyObject callMethod(ThreadContext context, String name, IRubyObject[] args, Block block)(Code)



callMethod
public IRubyObject callMethod(ThreadContext context, String name, IRubyObject[] args, CallType callType)(Code)



callMethod
public IRubyObject callMethod(ThreadContext context, String name, IRubyObject[] args, CallType callType, Block block)(Code)



callMethod
public IRubyObject callMethod(ThreadContext context, int methodIndex, String name, IRubyObject arg)(Code)



callMethod
public IRubyObject callMethod(ThreadContext context, int methodIndex, String name, IRubyObject[] args)(Code)



callMethod
public IRubyObject callMethod(ThreadContext context, int methodIndex, String name, IRubyObject[] args, CallType callType)(Code)



callMethod
public IRubyObject callMethod(ThreadContext context, RubyModule rubyclass, int methodIndex, String name, IRubyObject[] args, CallType callType)(Code)



callMethod
public IRubyObject callMethod(ThreadContext context, RubyModule rubyclass, int methodIndex, String name, IRubyObject[] args, CallType callType, Block block)(Code)



callMethod
public IRubyObject callMethod(ThreadContext context, RubyModule rubyclass, String name, IRubyObject[] args, CallType callType, Block block)(Code)



callMethod
public IRubyObject callMethod(ThreadContext context, String name)(Code)



callMethod
public IRubyObject callMethod(ThreadContext context, int methodIndex, String name)(Code)



callMethod
public IRubyObject callMethod(ThreadContext context, String name, Block block)(Code)



callMethod
public IRubyObject callMethod(ThreadContext context, String name, IRubyObject arg)(Code)
rb_funcall



callMethodMissing
public static IRubyObject callMethodMissing(ThreadContext context, IRubyObject receiver, DynamicMethod method, String name, int methodIndex, IRubyObject[] args, IRubyObject self, CallType callType, Block block)(Code)



callMethodMissing
public static IRubyObject callMethodMissing(ThreadContext context, IRubyObject receiver, DynamicMethod method, String name, IRubyObject[] args, IRubyObject self, CallType callType, Block block)(Code)



callSuper
public IRubyObject callSuper(ThreadContext context, IRubyObject[] args, Block block)(Code)



checkArrayType
public IRubyObject checkArrayType()(Code)
rb_check_array_type



checkFrozen
protected void checkFrozen()(Code)



checkStringType
public IRubyObject checkStringType()(Code)
rb_check_string_type



compilerCallMethod
public IRubyObject compilerCallMethod(ThreadContext context, String name, IRubyObject[] args, IRubyObject self, CallType callType, Block block)(Code)
Used by the compiler to handle visibility



compilerCallMethodWithIndex
public IRubyObject compilerCallMethodWithIndex(ThreadContext context, int methodIndex, String name, IRubyObject[] args, IRubyObject self, CallType callType, Block block)(Code)
Used by the compiler to ease calling indexed methods, also to handle visibility. NOTE: THIS IS NOT THE SAME AS THE SWITCHVALUE VERSIONS.



convertToArray
public RubyArray convertToArray()(Code)



convertToFloat
public RubyFloat convertToFloat()(Code)



convertToHash
public RubyHash convertToHash()(Code)



convertToInteger
public RubyInteger convertToInteger()(Code)



convertToString
public RubyString convertToString()(Code)



convertToType
public IRubyObject convertToType(RubyClass targetType, int convertMethodIndex, String convertMethod, boolean raise)(Code)



convertToType
public IRubyObject convertToType(RubyClass targetType, int convertMethodIndex, boolean raise)(Code)



convertToType
public IRubyObject convertToType(RubyClass targetType, int convertMethodIndex, String convertMethod, boolean raiseOnMissingMethod, boolean raiseOnWrongTypeResult, boolean allowNilThrough)(Code)



convertToTypeWithCheck
public IRubyObject convertToTypeWithCheck(RubyClass targetType, int convertMethodIndex, String convertMethod)(Code)



createObjectClass
public static RubyClass createObjectClass(Ruby runtime, RubyClass objectClass)(Code)



dataGetStruct
public synchronized Object dataGetStruct()(Code)

See Also:   org.jruby.runtime.builtin.IRubyObject.dataGetStruct



dataWrapStruct
public synchronized void dataWrapStruct(Object obj)(Code)

See Also:   org.jruby.runtime.builtin.IRubyObject.dataWrapStruct



display
public IRubyObject display(IRubyObject[] args)(Code)



doClone
protected IRubyObject doClone()(Code)



dup
public IRubyObject dup()(Code)
rb_obj_dup should be overriden only by: Proc



eql
public boolean eql(IRubyObject other)(Code)
rb_eql this method is not defind for Ruby objects directly. notably overriden by RubyFixnum, RubyString, RubySymbol - these do a short-circuit calls. see: rb_any_cmp() in hash.c do not confuse this method with eql_p methods (which it calls by default), eql is mainly used for hash key comparison



eqlInternal
final public boolean eqlInternal(ThreadContext context, IRubyObject other)(Code)



equal
public IRubyObject equal(IRubyObject other)(Code)
rb_equal



equalInternal
final public IRubyObject equalInternal(ThreadContext context, IRubyObject other)(Code)



equals
public boolean equals(Object other)(Code)
This method is just a wrapper around the Ruby "==" method, provided so that RubyObjects can be used as keys in the Java HashMap object underlying RubyHash.



evalSimple
public IRubyObject evalSimple(ThreadContext context, IRubyObject src, String file)(Code)



evalUnder
public IRubyObject evalUnder(RubyModule under, IRubyObject src, IRubyObject file, IRubyObject line)(Code)



evalWithBinding
public IRubyObject evalWithBinding(ThreadContext context, IRubyObject src, IRubyObject scope, String file, int lineNumber)(Code)



extend
public IRubyObject extend(IRubyObject[] args)(Code)



freeze
public IRubyObject freeze()(Code)
Freeze an object. rb_obj_freeze



frozen
public RubyBoolean frozen()(Code)
rb_obj_frozen_p



getInstanceVariable
public IRubyObject getInstanceVariable(String name)(Code)



getInstanceVariables
public Map getInstanceVariables()(Code)



getInstanceVariablesSnapshot
public Map getInstanceVariablesSnapshot()(Code)
Returns an unmodifiable snapshot of the current state of instance variables. This method synchronizes access to avoid deadlocks.



getJavaClass
public Class getJavaClass()(Code)



getMetaClass
final public RubyClass getMetaClass()(Code)
if exist return the meta-class else return the type of the object.



getNativeTypeIndex
public int getNativeTypeIndex()(Code)
This is overridden in the other concrete Java builtins to provide a fast way to determine what type they are.



getRuntime
public Ruby getRuntime()(Code)
Getter for property ruby. Value of property ruby.



getSingletonClass
public RubyClass getSingletonClass()(Code)
rb_singleton_class



getSingletonClassClone
public RubyClass getSingletonClassClone()(Code)
rb_singleton_class_clone



getType
public RubyClass getType()(Code)

See Also:   org.jruby.runtime.builtin.IRubyObject.getType



hash
public RubyFixnum hash()(Code)



hashCode
public int hashCode()(Code)



id
public synchronized RubyFixnum id()(Code)
Return the internal id of an object. CRuby function: rb_obj_id



id_deprecated
public synchronized RubyFixnum id_deprecated()(Code)



infectBy
public IRubyObject infectBy(IRubyObject obj)(Code)
OBJ_INFECT



inherited
public IRubyObject inherited(IRubyObject arg, Block block)(Code)



initCopy
public static void initCopy(IRubyObject clone, IRubyObject original)(Code)
init_copy



initialize
public IRubyObject initialize(IRubyObject[] args, Block block)(Code)



initialize_copy
public IRubyObject initialize_copy(IRubyObject original)(Code)
rb_obj_init_copy



inspect
public IRubyObject inspect()(Code)
rb_obj_inspect



instanceVariableNames
public Iterator instanceVariableNames()(Code)



instance_eval
public IRubyObject instance_eval(IRubyObject[] args, Block block)(Code)



instance_exec
public IRubyObject instance_exec(IRubyObject[] args, Block block)(Code)



instance_of
public RubyBoolean instance_of(IRubyObject type)(Code)
rb_obj_is_instance_of



instance_variable_get
public IRubyObject instance_variable_get(IRubyObject var)(Code)



instance_variable_set
public IRubyObject instance_variable_set(IRubyObject var, IRubyObject value)(Code)



instance_variables
public RubyArray instance_variables()(Code)



isFalse
final public boolean isFalse()(Code)



isFrozen
public boolean isFrozen()(Code)
Gets the frozen. Returns a boolean



isImmediate
public boolean isImmediate()(Code)



isKindOf
public boolean isKindOf(RubyModule type)(Code)



isNil
public boolean isNil()(Code)



isSingleton
public boolean isSingleton()(Code)



isTaint
public boolean isTaint()(Code)
Gets the taint. Returns a boolean



isTrue
final public boolean isTrue()(Code)



kind_of
public RubyBoolean kind_of(IRubyObject type)(Code)
rb_obj_is_kind_of



makeMetaClass
public RubyClass makeMetaClass(RubyClass superClass, SinglyLinkedList parentCRef)(Code)
Create a new meta class.
since:
   Ruby 1.6.7



match
public IRubyObject match(IRubyObject arg)(Code)



method
public IRubyObject method(IRubyObject symbol)(Code)



methods
public IRubyObject methods(IRubyObject[] args)(Code)
rb_obj_methods



nil_p
public IRubyObject nil_p()(Code)



obj_equal
public IRubyObject obj_equal(IRubyObject obj)(Code)
rb_obj_equal



private_methods
public IRubyObject private_methods(IRubyObject[] args)(Code)
rb_obj_private_methods



protected_methods
public IRubyObject protected_methods(IRubyObject[] args)(Code)
rb_obj_protected_methods



public_methods
public IRubyObject public_methods(IRubyObject[] args)(Code)



puts
public static void puts(Object obj)(Code)



rbClone
public IRubyObject rbClone(Block unusedBlock)(Code)
rb_obj_clone should be overriden only by: Proc, Method, UnboundedMethod, Binding



removeFinalizers
public void removeFinalizers()(Code)



removeInstanceVariable
public IRubyObject removeInstanceVariable(String name)(Code)



remove_instance_variable
public IRubyObject remove_instance_variable(IRubyObject name, Block block)(Code)



respond_to
public RubyBoolean respond_to(IRubyObject[] args)(Code)
respond_to?( aSymbol, includePriv=false ) -> true or false Returns true if this object responds to the given method. Private methods are included in the search only if the optional second parameter evaluates to true. true if this responds to the given method



respondsTo
public boolean respondsTo(String name)(Code)



safeGetInstanceVariables
public Map safeGetInstanceVariables()(Code)



safeHasInstanceVariables
public boolean safeHasInstanceVariables()(Code)



send
public IRubyObject send(IRubyObject[] args, Block block)(Code)
send( aSymbol [, args ]* ) -> anObject Invokes the method identified by aSymbol, passing it any arguments specified. You can use __send__ if the name send clashes with an existing method in this object.
 class Klass
 def hello(*args)
 "Hello " + args.join(' ')
 end
 end
 k = Klass.new
 k.send :hello, "gentle", "readers"
 
the result of invoking the method identified by aSymbol.



setFrozen
public void setFrozen(boolean frozen)(Code)
Sets the frozen.
Parameters:
  frozen - The frozen to set



setInstanceVariable
public IRubyObject setInstanceVariable(String name, IRubyObject value, String taintError, String freezeError)(Code)



setInstanceVariable
public IRubyObject setInstanceVariable(String name, IRubyObject value)(Code)
rb_iv_set / rb_ivar_set



setInstanceVariables
public void setInstanceVariables(Map instanceVariables)(Code)



setMetaClass
public void setMetaClass(RubyClass metaClass)(Code)



setTaint
public void setTaint(boolean taint)(Code)
Sets the taint.
Parameters:
  taint - The taint to set



singleton_methods
public RubyArray singleton_methods(IRubyObject[] args)(Code)
rb_obj_singleton_methods



specificEval
public IRubyObject specificEval(RubyModule mod, IRubyObject[] args, Block block)(Code)
specific_eval



taint
public IRubyObject taint()(Code)
rb_obj_taint



tainted
public RubyBoolean tainted()(Code)
rb_obj_tainted



testFrozen
protected void testFrozen(String message)(Code)
rb_frozen_class_p



toString
public String toString()(Code)



to_s
public IRubyObject to_s()(Code)



trueFalseNil
public static String trueFalseNil(IRubyObject v)(Code)



trueFalseNil
public static String trueFalseNil(String v)(Code)



type
public RubyClass type()(Code)
rb_obj_type



type_deprecated
public RubyClass type_deprecated()(Code)



untaint
public IRubyObject untaint()(Code)
rb_obj_untaint



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.