method
id
ruby latest stable - Class:
Object
Method deprecated or moved
This method is deprecated or moved on the latest stable version. The last existing version (v1_8_7_330) is shown here.
id()public
Soon-to-be deprecated version of Object#object_id.
/*
* call-seq:
* obj.id => fixnum
*
* Soon-to-be deprecated version of <code>Object#object_id</code>.
*/
VALUE
rb_obj_id_obsolete(obj)
VALUE obj;
{
rb_warn("Object#id will be deprecated; use Object#object_id");
return rb_obj_id(obj);
} Related methods
- Instance methods
- ==
- ===
- =~
- __id__
- __send__
- class
- clone
- dclone
- display
- dup
- enum_for
- eql?
- equal?
- extend
- freeze
- frozen?
- hash
- id
- initialize_copy
- inspect
- instance_eval
- instance_exec
- instance_of?
- instance_variable_defined?
- instance_variable_get
- instance_variable_get
- instance_variable_set
- instance_variable_set
- instance_variables
- is_a?
- kind_of?
- method
- methods
- nil?
- object_id
- private_methods
- protected_methods
- public_methods
- remove_instance_variable
- respond_to?
- send
- singleton_method_added
- singleton_method_removed
- singleton_method_undefined
- singleton_methods
- taint
- tainted?
- tap
- to_a
- to_enum
- to_s
- to_yaml
- to_yaml_properties
- to_yaml_style
- type
- untaint
- Class methods
- new