PHP 8.2.31
Preview: cdesc-Method.yaml Size: 1.25 KB
//proc/thread-self/root/opt/alt/ruby18/share/ri/1.8/system/Method/cdesc-Method.yaml

--- !ruby/object:RI::ClassDescription 
attributes: []

class_methods: []

comment: 
- !ruby/struct:SM::Flow::P 
  body: <tt>Proc</tt> objects are blocks of code that have been bound to a set of local variables. Once bound, the code may be called in different contexts and still access those variables.
- !ruby/struct:SM::Flow::VERB 
  body: "   def gen_times(factor)\n     return Proc.new {|n| n*factor }\n   end\n\n   times3 = gen_times(3)\n   times5 = gen_times(5)\n\n   times3.call(12)               #=&gt; 36\n   times5.call(5)                #=&gt; 25\n   times3.call(times5.call(4))   #=&gt; 60\n"
constants: []

full_name: Method
includes: []

instance_methods: 
- !ruby/object:RI::MethodSummary 
  name: ==
- !ruby/object:RI::MethodSummary 
  name: "[]"
- !ruby/object:RI::MethodSummary 
  name: arity
- !ruby/object:RI::MethodSummary 
  name: call
- !ruby/object:RI::MethodSummary 
  name: clone
- !ruby/object:RI::MethodSummary 
  name: inspect
- !ruby/object:RI::MethodSummary 
  name: name
- !ruby/object:RI::MethodSummary 
  name: owner
- !ruby/object:RI::MethodSummary 
  name: receiver
- !ruby/object:RI::MethodSummary 
  name: to_proc
- !ruby/object:RI::MethodSummary 
  name: to_s
- !ruby/object:RI::MethodSummary 
  name: unbind
name: Method
superclass: Object

Directory Contents

Dirs: 0 × Files: 13

Name Size Perms Modified Actions
326 B lrw-r--r-- 2023-07-26 13:47:18
Edit Download
484 B lrw-r--r-- 2023-07-26 13:47:18
Edit Download
1.25 KB lrw-r--r-- 2023-07-26 13:47:18
Edit Download
486 B lrw-r--r-- 2023-07-26 13:47:18
Edit Download
1.25 KB lrw-r--r-- 2023-07-26 13:47:18
Edit Download
225 B lrw-r--r-- 2023-07-26 13:47:18
Edit Download
435 B lrw-r--r-- 2023-07-26 13:47:18
Edit Download
255 B lrw-r--r-- 2023-07-26 13:47:18
Edit Download
288 B lrw-r--r-- 2023-07-26 13:47:18
Edit Download
284 B lrw-r--r-- 2023-07-26 13:47:18
Edit Download
290 B lrw-r--r-- 2023-07-26 13:47:18
Edit Download
429 B lrw-r--r-- 2023-07-26 13:47:18
Edit Download
418 B lrw-r--r-- 2023-07-26 13:47:18
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).