Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Jun 22nd, 2018
87
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.18 KB
| None
|
0
0
raw
download
clone
embed
print
report
x = Proc.new{|i| i*2 }
x = proc{ x.call(i) + i }
x.call(5) # =>
# ~> -:2: undefined local variable or method `i' for main:Object (NameError)
# ~> from -:4:in `call'
# ~> from -:4
Add Comment
Please,
Sign In
to add comment
Public Pastes
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 18 min ago | 0.39 KB
Torchvision Model Wrapping
Python | 25 min ago | 2.83 KB
Untitled
YAML | 38 min ago | 0.64 KB
HA Sensor offline entities
YAML | 39 min ago | 1.37 KB
FREE SPOTIFY PREMIUM for pc
GetText | 42 min ago | 2.80 KB
snowybot lua
JavaScript | 1 hour ago | 1.38 KB
snowybot lua
JavaScript | 1 hour ago | 1.38 KB
snowybot lua
JavaScript | 2 hours ago | 1.91 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!