Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Apr 25th, 2018
61
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.14 KB
| None
|
0
0
raw
download
clone
embed
print
report
class Foo < Array
def +( arg )
Foo.new( super( arg ) )
end
end
a = Foo.new
b = Foo.new
c = a + b
p a.class, b.class
p c.class
Add Comment
Please,
Sign In
to add comment
Public Pastes
Untitled
C++ | 7 min ago | 1.12 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 11 min ago | 0.38 KB
СПРИНТ № 7 | Модель памяти в C++ | Урок 9: Ко...
C++ | 15 min ago | 11.32 KB
sgoz
Oracle 11 | 17 min ago | 5.18 KB
Untitled
Oracle 11 | 18 min ago | 16.80 KB
Untitled
Oracle 11 | 19 min ago | 12.93 KB
wallet
Lua | 21 min ago | 0.06 KB
News April23 24
Email | 37 min ago | 27.63 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!