PATH:
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
Module
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Equality---At the <tt>Object</tt> level, <tt>==</tt> returns <tt>true</tt> only if <em>obj</em> and <em>other</em> are the same object. Typically, this method is overridden in descendent classes to provide class-specific meaning. - !ruby/struct:SM::Flow::P body: "Unlike <tt>==</tt>, the <tt>equal?</tt> method should never be overridden by subclasses: it is used to determine object identity (that is, <tt>a.equal?(b)</tt> iff <tt>a</tt> is the same object as <tt>b</tt>)." - !ruby/struct:SM::Flow::P body: "The <tt>eql?</tt> method returns <tt>true</tt> if <em>obj</em> and <em>anObject</em> have the same value. Used by <tt>Hash</tt> to test members for equality. For objects of class <tt>Object</tt>, <tt>eql?</tt> is synonymous with <tt>==</tt>. Subclasses normally continue this tradition, but there are exceptions. <tt>Numeric</tt> types, for example, perform type conversion across <tt>==</tt>, but not across <tt>eql?</tt>, so:" - !ruby/struct:SM::Flow::VERB body: " 1 == 1.0 #=> true\n 1.eql? 1.0 #=> false\n" full_name: Module#== is_singleton: false name: == params: | obj == other => true or false obj.equal?(other) => true or false obj.eql?(other) => true or false visibility: public
[-] method_removed-i.yaml
[edit]
[-] class_variable_defined%3f-i.yaml
[edit]
[-] %3c%3d%3e-i.yaml
[edit]
[-] undef_method-i.yaml
[edit]
[-] autoload-i.yaml
[edit]
[-] included-i.yaml
[edit]
[-] instance_methods-i.yaml
[edit]
[-] private_class_method-i.yaml
[edit]
[-] attr_accessor-i.yaml
[edit]
[-] private_instance_methods-i.yaml
[edit]
[-] autoload%3f-i.yaml
[edit]
[-] define_method-i.yaml
[edit]
[-] constants-i.yaml
[edit]
[-] protected-i.yaml
[edit]
[-] class_variables-i.yaml
[edit]
[-] class_eval-i.yaml
[edit]
[-] protected_instance_methods-i.yaml
[edit]
[-] include-i.yaml
[edit]
[-] name-i.yaml
[edit]
[-] method_added-i.yaml
[edit]
[-] module_eval-i.yaml
[edit]
[-] ancestors-i.yaml
[edit]
[-] method_undefined-i.yaml
[edit]
[-] const_set-i.yaml
[edit]
[-] const_missing-i.yaml
[edit]
[-] method_defined%3f-i.yaml
[edit]
[-] class_exec-i.yaml
[edit]
[-] %3d%3d%3d-i.yaml
[edit]
[-] attr-i.yaml
[edit]
[-] %3c-i.yaml
[edit]
[-] attr_reader-i.yaml
[edit]
[-] extend_object-i.yaml
[edit]
[-] alias_method-i.yaml
[edit]
[-] class_variable_set-i.yaml
[edit]
[-] private-i.yaml
[edit]
[-] include%3f-i.yaml
[edit]
[-] module_function-i.yaml
[edit]
[-] public-i.yaml
[edit]
[-] %3e-i.yaml
[edit]
[-] const_get-i.yaml
[edit]
[-] private_method_defined%3f-i.yaml
[edit]
[-] attr_writer-i.yaml
[edit]
[-] cdesc-Module.yaml
[edit]
[-] %3c%3d-i.yaml
[edit]
[-] public_class_method-i.yaml
[edit]
[-] append_features-i.yaml
[edit]
[-] %3d%3d-i.yaml
[edit]
[-] constants-c.yaml
[edit]
[-] extended-i.yaml
[edit]
[-] protected_method_defined%3f-i.yaml
[edit]
[+]
..
[-] remove_class_variable-i.yaml
[edit]
[-] module_exec-i.yaml
[edit]
[-] public_instance_methods-i.yaml
[edit]
[-] included_modules-i.yaml
[edit]
[-] %3e%3d-i.yaml
[edit]
[-] new-c.yaml
[edit]
[-] instance_method-i.yaml
[edit]
[-] remove_const-i.yaml
[edit]
[-] class_variable_get-i.yaml
[edit]
[-] remove_method-i.yaml
[edit]
[-] const_defined%3f-i.yaml
[edit]
[-] nesting-c.yaml
[edit]
[-] public_method_defined%3f-i.yaml
[edit]
[-] freeze-i.yaml
[edit]
[-] to_s-i.yaml
[edit]