Sha256: e367e002c8634bf4bccc53783abb3cfaa482577472842f8d9509646c0967cf48
Contents?: true
Size: 1.89 KB
Versions: 12
Compression:
Stored size: 1.89 KB
Contents
o:$YARD::CodeObjects::MethodObject:@scope: instance:@visibility:public: @pathI"Kernel#binding:EF:@parameters[:@files[[I"proc.c;T0:@current_file_has_commentsF: @name:binding:@source_type:c: @tags[:@docstringIC:YARD::Docstring"^Returns a +Binding+ object, describing the variable and method bindings at the point of call. This object can be used when calling +eval+ to execute the evaluated command in this environment. Also see the description of class +Binding+. def getBinding(param) return binding end b = getBinding("hello") eval("param", b) #=> "hello";F:@objectIu:YARD::StubProxyKernel#binding;F: @summary0:@ref_tags[;[o:YARD::Tags::OverloadTag :@tag_nameI" overload;F: @text0;;:@types0:@signatureI"binding;F;IC;";F;Iu;Kernel#binding;F;0;[;[o:YARD::Tags::Tag ;I"return;F;I";F;0;[I"Binding;F;0: @allI"@return [Binding];F;[;Iu;Kernel#binding;F; I"�Returns a +Binding+ object, describing the variable and method bindings at the point of call. This object can be used when calling +eval+ to execute the evaluated command in this environment. Also see the description of class +Binding+. def getBinding(param) return binding end b = getBinding("hello") eval("param", b) #=> "hello" @overload binding @return [Binding];F:@namespaceIu;Kernel;F:@docstring_extra0:@sourceI"/* * call-seq: * binding -> a_binding * * Returns a +Binding+ object, describing the variable and * method bindings at the point of call. This object can be used when * calling +eval+ to execute the evaluated command in this * environment. Also see the description of class +Binding+. * * def getBinding(param) * return binding * end * b = getBinding("hello") * eval("param", b) #=> "hello" */ static VALUE rb_f_binding(VALUE self) { return rb_binding_new(); };F
Version data entries
12 entries across 12 versions & 2 rubygems