Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
May 24th, 2018
82
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.18 KB
| None
|
0
0
raw
download
clone
embed
print
report
def if_provided(value,display=value)
value.to_s == "" ? not_available : display
end
def not_available
return '<span class="not_available">Not available</span>'
end
Add Comment
Please,
Sign In
to add comment
Public Pastes
Untitled
PHP | 3 min ago | 11.28 KB
Python: MonitorOff
Python | 6 min ago | 2.27 KB
Untitled
C++ | 42 min ago | 1.80 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 1 hour ago | 0.39 KB
Trait
C# | 1 hour ago | 3.61 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🎁
GetText | 1 hour ago | 0.38 KB
Kode sederhana Stasiun Cuaca Mini dengan ESP3...
C++ | 2 hours ago | 1.88 KB
Pastebin.ai - #1 Pastebin alternative
PHP | 2 hours ago | 0.85 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!