[ANN] rdp-arguments -- named arguments for 1.8 and 1.9!

M

Michael Fellinger

Though I can't take much credit for this (the original author is maca
[1]), in case it's useful, here's a pretty stable release of the
arguments gem.

The README is wrong about install, github doesn't build gems anymore,
and the name doesn't match your repo anyway.
Looks interesting, will check it out.
usage

class A
=C2=A0def go(a =3D 3, b =3D 4)
=C2=A0 [a, b]
=C2=A0end
=C2=A0named_args :go
end
A.new.go(3, 4) =3D> [3, 4]
A.new.go:)a =3D> 3, :b =3D> 4)
=3D> [3, 4]

Compatible with 1.8.x, and 1.9.x

Ahh.
Enjoy and happy new year.

http://github.com/rdp/arguments
-r

[1] http://github.com/maca/arguments



--=20
Michael Fellinger
CTO, The Rubyists, LLC
 
R

Roger Pack

ichael said:
Though I can't take much credit for this (the original author is maca
[1]), in case it's useful, here's a pretty stable release of the
arguments gem.

The README is wrong about install, github doesn't build gems anymore,
and the name doesn't match your repo anyway.
Looks interesting, will check it out.

oops my bad.
That's now

$ gem install rdp-arguments

Thanks!
-r
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,009
Latest member
GidgetGamb

Latest Threads

Top