Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
May 27th, 2018
80
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.29 KB
| None
|
0
0
raw
download
clone
embed
print
report
class Inventory
has_many :items
def pick_items(manifest)
manifest.manifest_items.each do |m|
items.each do |i|
if i.eqiv(m)
items.delete(i)
i.destroy
break
end
end
end
end
Add Comment
Please,
Sign In
to add comment
Public Pastes
Pastebin.ai - #1 pastebin alternative
PHP | 4 min ago | 0.84 KB
Receptor_RF_433MHz
MPASM | 50 min ago | 10.04 KB
Transmisor_RF_433MHz
MPASM | 52 min ago | 7.19 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 53 min ago | 0.39 KB
[JS] YOUTUBE MP3 DOWNLOADER
JavaScript | 1 hour ago | 1.79 KB
fourth_task
C | 1 hour ago | 7.51 KB
sharelatex_overleaf_docker_compose
YAML | 2 hours ago | 6.20 KB
repeat the function
Python | 2 hours ago | 0.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!