Sha256: 1eb35020ece09aba5723fbc29446cc45e65721907e792bb9af1363bc25767092

Contents?: true

Size: 1.27 KB

Versions: 12

Compression:

Stored size: 1.27 KB

Contents

o:$YARD::CodeObjects::MethodObject:@scope:
instance:@visibility:public:
@pathI"Proc#source_location:EF:@parameters[:@files[[I"proc.c;T0:@current_file_has_commentsF:
@name:source_location:@source_type:c:
@tags[:@docstringIC:YARD::Docstring"returns the ruby source filename and line number containing this proc
or nil if this proc was not defined in ruby (i.e. native);F:@objectIu:YARD::StubProxyProc#source_location;F:
@summary0:@ref_tags[;[o:YARD::Tags::OverloadTag
:@tag_nameI"
overload;F:
@text0;;:@types0:@signatureI"source_location;F;IC;";F;Iu;Proc#source_location;F;0;[;[o:YARD::Tags::Tag
;I"return;F;I";F;0;[I"
Array;F;0:	@allI"@return [Array];F;[;Iu;Proc#source_location;F; I"­returns the ruby source filename and line number containing this proc
or nil if this proc was not defined in ruby (i.e. native)


@overload source_location
  @return [Array];F:@namespaceIu;	Proc;F:@docstring_extra0:@sourceI"%/*
 * call-seq:
 *    prc.source_location  -> [String, Fixnum]
 *
 * returns the ruby source filename and line number containing this proc
 * or nil if this proc was not defined in ruby (i.e. native)
 */

VALUE
rb_proc_location(VALUE self)
{
    return iseq_location(get_proc_iseq(self, 0));
};F

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
pry-doc-0.4.4 lib/pry-doc/core_docs_19/objects/Proc/source_location_i.dat
pry-doc-0.4.3 lib/pry-doc/core_docs_19/objects/Proc/source_location_i.dat
pry-doc-0.4.2 lib/pry-doc/core_docs_19/objects/Proc/source_location_i.dat
pry-doc-0.4.1 lib/pry-doc/core_docs_19/objects/Proc/source_location_i.dat
pry-doc-0.4.0 lib/pry-doc/core_docs_19/objects/Proc/source_location_i.dat
pry-doc-0.3.0 lib/pry-doc/core_docs_19/objects/Proc/source_location_i.dat
pry-doc-0.2.4pre1 lib/pry-doc/core_docs_19/objects/Proc/source_location_i.dat
pry-doc-0.2.3pre1 lib/pry-doc/core_docs_19/objects/Proc/source_location_i.dat
pry-doc-0.2.1 lib/pry-doc/core_docs_19/objects/Proc/source_location_i.dat
pry-doc-0.2.0 lib/pry-doc/core_docs_19/objects/Proc/source_location_i.dat
pry-doc-0.1.5pre1 lib/pry-doc/core_docs_19/objects/Proc/source_location_i.dat
pry-0.6.9pre1-i386-mingw32 lib/pry/core_docs_19/objects/Proc/source_location_i.dat