Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Apr 19th, 2018
87
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.20 KB
| None
|
0
0
raw
download
clone
embed
print
report
class Person
def self.section(str, &blk)
self.class_eval(&blk)
end
end
class Joe < Person
def name; "Joe"; end
section "speaking methods" do
def say_hi
"Hi"
end
end
end
Add Comment
Please,
Sign In
to add comment
Public Pastes
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 6 min ago | 0.38 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 11 min ago | 0.39 KB
Untitled
HTML 5 | 42 min ago | 3.35 KB
Untitled
PHP | 1 hour ago | 2.03 KB
Untitled
PHP | 1 hour ago | 10.21 KB
R88_ESLify.bat Both SSEedit and auto launch S...
Batch | 1 hour ago | 3.60 KB
startup
Lua | 1 hour ago | 0.18 KB
MQTT-induction
Lua | 2 hours ago | 3.07 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!