Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
yield1a.rb
saasbook
Aug 16th, 2013
240
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Ruby
0.18 KB
| None
|
0
0
raw
download
clone
embed
print
report
def
make_page
(
contents
)
page =
''
page
<<
make_header
(
)
page
<<
contents
page
<<
make_footer
(
)
end
#
def
one_page
make_page
(
"Hello"
)
end
def
another_page
make_page
(
"World"
)
end
Add Comment
Please,
Sign In
to add comment
Public Pastes
Untitled
C++ | 5 min ago | 0.76 KB
digital devil disaster
C | 15 min ago | 3.86 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 19 min ago | 0.39 KB
Untitled
Bash | 20 min ago | 1.87 KB
mobdevlr3
Kotlin | 24 min ago | 15.08 KB
array_manipulation
Python | 26 min ago | 6.56 KB
🚀G2A.com Free Gift Card Guide MAY 2024 UPDATE...
GetText | 30 min ago | 0.33 KB
🎉G2A.com Free Gift Card Guide MAY 2024 UPDATE...
GetText | 31 min ago | 0.33 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!