Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Jul 21st, 2018
87
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.16 KB
| None
|
0
0
raw
download
clone
embed
print
report
module ClassMethods
def foo ; @foo ; end
def foo=(f) ; @foo=f ; end
end
class A
class << self ; include ClassMethods ; end
foo = 10
end
A.foo
=>nil # doh !
Add Comment
Please,
Sign In
to add comment
Public Pastes
EasyButton Control rev_06
Arduino | 7 min ago | 2.77 KB
OMEGENE
C++ | 21 min ago | 0.06 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🎁
GetText | 23 min ago | 0.38 KB
esp32_lab_2
C++ | 34 min ago | 3.36 KB
safdawfaf
PHP | 35 min ago | 2.53 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 43 min ago | 0.39 KB
Image Upload Code
JavaScript | 46 min ago | 4.41 KB
BubleSorting FASM
ASM (NASM) | 51 min ago | 1.37 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!