This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
Run the following if you haven't already:
gem sources -a http://gems.github.com
Install the gem(s):
sudo gem install kballard-call_with_locals
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Wed May 14 17:06:13 -0700 2008 | [kballard] |
| |
LICENSE | Wed May 14 17:06:13 -0700 2008 | [kballard] |
| |
README | Wed May 14 17:08:11 -0700 2008 | [kballard] |
| |
Rakefile | Sun May 18 18:07:22 -0700 2008 | [kballard] |
| |
call_with_locals.gemspec | Wed May 14 17:06:13 -0700 2008 | [kballard] |
| |
lib/ | Wed May 14 17:09:14 -0700 2008 | [kballard] |
| |
spec/ | Sun May 18 18:07:31 -0700 2008 | [kballard] |
README
= call_with_locals by Kevin Ballard <kevin@sb.org> == DESCRIPTION Ads a new method Proc#call_with_locals to call the proc with new locals == EXAMPLES >> proc { x + 1 }.call_with_locals(x => 3) => 4 >> proc { |a| f[a] }.call_with_locals(3, :f => proc { |x| x + 4 }) => 7




