Sha256: 81f1b1124a678a7315ceae664775638e6830d310e2cc0af1cfb56e063293075a
Contents?: true
Size: 1.46 KB
Versions: 12
Compression:
Stored size: 1.46 KB
Contents
o:$YARD::CodeObjects::MethodObject: @name:==:@docstringIC:YARD::Docstring"aTwo method objects are equal if that are bound to the same object and contain the same body. :@objectu:YARD::StubProxyMethod#==: @summary0: @all"�Two method objects are equal if that are bound to the same object and contain the same body. @overload ==(other_meth) @return [Boolean]:@ref_tags[: @tags[o:YARD::Tags::OverloadTag ; u;Method#==;;;IC; " ; u;Method#==;0; "@return [Boolean];[;[o:YARD::Tags::Tag ; 0;0:@types["Boolean: @text":@tag_name"return;0:@parameters[[:other_meth0;0:@signature"==(other_meth);" overload:@current_file_has_commentsF:@scope: instance;[:@docstring_extra0:@files[["eval.c0:@namespaceu;Method: @path"Method#==;[:@visibility:public:@source"�/* * call-seq: * meth == other_meth => true or false * * Two method objects are equal if that are bound to the same * object and contain the same body. */ static VALUE method_eq(method, other) VALUE method, other; { struct METHOD *m1, *m2; if (TYPE(other) != T_DATA || RDATA(other)->dmark != (RUBY_DATA_FUNC)bm_mark) return Qfalse; if (CLASS_OF(method) != CLASS_OF(other)) return Qfalse; Data_Get_Struct(method, struct METHOD, m1); Data_Get_Struct(other, struct METHOD, m2); if (m1->klass != m2->klass || m1->rklass != m2->rklass || m1->recv != m2->recv || m1->body != m2->body) return Qfalse; return Qtrue; }:@source_type:c
Version data entries
12 entries across 12 versions & 2 rubygems