Search
Project
General
Profile
Sign in
Register
Home
Projects
Help
Search
:
Ruby 1.8
All Projects
Ruby
»
Ruby 1.8
Overview
Activity
Roadmap
Issues
Wiki
Like
Download (127 Bytes)
Bug #574
ยป proc_arity.rb
gendag (Andrea Forni)
, 09/19/2008 04:18 AM
puts
Proc
.
new
{}.
arity
puts
Proc
.
new
{
||
}.
arity
puts
Proc
.
new
{
|
a
|
}.
arity
puts
Proc
.
new
{
|
a
,
b
|
}.
arity
puts
Proc
.
new
{
|
a
,
b
,
c
|
}.
arity
(1-1/1)
Loading...