Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Jan 22nd, 2018
69
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.19 KB
| None
|
0
0
raw
download
clone
embed
print
report
>> class MyArray < Array; end
=> nil
>> a = MyArray.new([1,2,3])
=> [1, 2, 3]
>> a.class
=> MyArray
>> a.reject {|x| x > 2}.class
=> MyArray
>> a.select {|x| x > 2}.class
=> Array
Add Comment
Please,
Sign In
to add comment
Public Pastes
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 5 min ago | 0.39 KB
Voice pack
LScript | 14 min ago | 6.47 KB
Esp32 Rainmaker controller
C++ | 17 min ago | 8.39 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 💰
GetText | 41 min ago | 0.38 KB
Untitled
CSS | 44 min ago | 6.50 KB
selection_sort
C++ | 56 min ago | 2.40 KB
ДЗ Вывод имени
C# | 59 min ago | 1.07 KB
Конвертер валюты
C# | 1 hour ago | 2.94 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!