Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
block_example_2.rb
saasbook
Jan 9th, 2013
135
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Ruby
0.17 KB
| None
|
0
0
raw
download
clone
embed
print
report
def
print_movies
(
movie_list
)
movie_list.
each
do
|
m
|
puts
"#{m.title} #{separator} #{m.rating}"
# === FAILS!! ===
end
end
separator =
'=>'
print_movies
(
movies
)
# FAILS!
Add Comment
Please,
Sign In
to add comment
Public Pastes
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 4 min ago | 0.39 KB
Untitled
C# | 6 min ago | 14.26 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 💰
GetText | 15 min ago | 0.38 KB
FastLED Control rev_09
Arduino | 27 min ago | 3.04 KB
RGB LED Fader rev_08
Arduino | 43 min ago | 2.03 KB
10 moves rule Petre
Python | 47 min ago | 3.14 KB
Untitled
SQL | 1 hour ago | 0.81 KB
Temperature Control rev_01
Arduino | 1 hour ago | 1.65 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!