Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Oct 15th, 2018
94
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Rails
0.15 KB
| None
|
0
0
raw
download
clone
embed
print
report
restaurant_menu =
{
"Burger"
=>
3
,
"Pizza"
=>
10
,
"Coffee"
=>
2
}
restaurant_menu.
each
do
|
item, price
|
restaurant_menu
[
item
]
= price
+
(
price
*
0.1
)
end
Add Comment
Please,
Sign In
to add comment
Public Pastes
85128
JSON | 4 min ago | 2.85 KB
Q348z
JSON | 8 min ago | 1.28 KB
hanjukankan
JSON | 10 min ago | 2.52 KB
yuepianys
JSON | 13 min ago | 2.41 KB
Qpptv06
JSON | 15 min ago | 0.14 KB
Qzhuiying
JSON | 16 min ago | 0.36 KB
Qsaohuo
JSON | 17 min ago | 0.62 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🎁
GetText | 17 min ago | 0.38 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!