Sha256: 1d454bbdb7fe26d390d96afcd46b6d7569421659f5ded06993b835872c48f476
Contents?: true
Size: 1.25 KB
Versions: 12
Compression:
Stored size: 1.25 KB
Contents
o:$YARD::CodeObjects::MethodObject:@scope: instance:@visibility:public: @pathI"Struct#eql?:EF:@parameters[ :@files[[I" struct.c;T0:@current_file_has_commentsF: @name: eql?:@source_type:c: @tags[ :@docstringIC:YARD::Docstring"¤code-seq: struct.eql?(other) -> true or false Two structures are equal if they are the same object, or if all their fields are equal (using <code>eql?</code>).;F:@objectIu:YARD::StubProxyStruct#eql?;F: @summary0:@ref_tags[ ;[ : @allI"¥code-seq: struct.eql?(other) -> true or false Two structures are equal if they are the same object, or if all their fields are equal (using <code>eql?</code>). ;F:@namespaceIu;Struct;F:@docstring_extra0:@sourceI"$/* * code-seq: * struct.eql?(other) -> true or false * * Two structures are equal if they are the same object, or if all their * fields are equal (using <code>eql?</code>). */ static VALUE rb_struct_eql(VALUE s, VALUE s2) { if (s == s2) return Qtrue; if (TYPE(s2) != T_STRUCT) return Qfalse; if (rb_obj_class(s) != rb_obj_class(s2)) return Qfalse; if (RSTRUCT_LEN(s) != RSTRUCT_LEN(s2)) { rb_bug("inconsistent struct"); /* should never happen */ } return rb_exec_recursive_paired(recursive_eql, s, s2, s2); };F
Version data entries
12 entries across 12 versions & 2 rubygems