Sha256: 9e84bcb99948f57aa78bc8ac2f75954ceff93747753397b3537940e331513c34
Contents?: true
Size: 1.73 KB
Versions: 12
Compression:
Stored size: 1.73 KB
Contents
o:$YARD::CodeObjects::MethodObject: @name:==:@docstringIC:YARD::Docstring"}Return <code>true</code> if <i>prc</i> is the same object as <i>other_proc</i>, or if they are both procs with the same body. :@objectu:YARD::StubProxyProc#==: @summary0: @all"�Return <code>true</code> if <i>prc</i> is the same object as <i>other_proc</i>, or if they are both procs with the same body. @overload ==(other_proc) @return [Boolean]:@ref_tags[: @tags[o:YARD::Tags::OverloadTag ; u;Proc#==;;;IC; " ; u;Proc#==;0; "@return [Boolean];[;[o:YARD::Tags::Tag ; 0;0:@types["Boolean: @text":@tag_name"return;0:@parameters[[:other_proc0;0:@signature"==(other_proc);" overload:@current_file_has_commentsF:@scope: instance;[:@docstring_extra0:@files[["eval.c0:@namespaceu; Proc: @path"Proc#==;[:@visibility:public:@source"r/* * call-seq: * prc == other_proc => true or false * * Return <code>true</code> if <i>prc</i> is the same object as * <i>other_proc</i>, or if they are both procs with the same body. */ static VALUE proc_eq(self, other) VALUE self, other; { struct BLOCK *data, *data2; if (self == other) return Qtrue; if (TYPE(other) != T_DATA) return Qfalse; if (RDATA(other)->dmark != (RUBY_DATA_FUNC)blk_mark) return Qfalse; if (CLASS_OF(self) != CLASS_OF(other)) return Qfalse; Data_Get_Struct(self, struct BLOCK, data); Data_Get_Struct(other, struct BLOCK, data2); if (data->body != data2->body) return Qfalse; if (data->var != data2->var) return Qfalse; if (data->scope != data2->scope) return Qfalse; if (data->dyna_vars != data2->dyna_vars) return Qfalse; if (data->flags != data2->flags) return Qfalse; return Qtrue; }:@source_type:c
Version data entries
12 entries across 12 versions & 2 rubygems