Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Mar 23rd, 2018
64
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.15 KB
| None
|
0
0
raw
download
clone
embed
print
report
2.2.7 :011 > a = [1,2,3,4]
=> [1, 2, 3, 4]
2.2.7 :012 > a[0...-1].collect do |x|
2.2.7 :013 > x.to_s
2.2.7 :014?> end
=> ["1", "2", "3"]
2.2.7 :015 >
Add Comment
Please,
Sign In
to add comment
Public Pastes
NodeMCU Amica RC Bluino App
Arduino | 30 min ago | 7.51 KB
at_command_sim7600_en_reg
Arduino | 30 min ago | 4.25 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 53 min ago | 0.39 KB
index.php
PHP | 1 hour ago | 3.38 KB
daftar.php
PHP | 1 hour ago | 4.10 KB
login.php
PHP | 1 hour ago | 3.49 KB
profil.php
PHP | 1 hour ago | 10.41 KB
album.php
PHP | 1 hour ago | 6.02 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!