Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Feb 19th, 2018
67
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 default_value
p 'generate default_value'
'default value'
end
def some_method(param = nil)
param ||= default_value
p param
end
some_method
some_method('hello')
Add Comment
Please,
Sign In
to add comment
Public Pastes
Notification Library
Lua | 19 min ago | 3.97 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 33 min ago | 0.39 KB
htacces
IO | 37 min ago | 0.49 KB
Murder Mystery Voting System
Lua | 53 min ago | 1.45 KB
Flying Script
Lua | 1 hour ago | 0.44 KB
pastebin.ai - #1 pastebin alternative
PHP | 2 hours ago | 0.81 KB
computercraft test script
Lua | 2 hours ago | 2.94 KB
rps
JSON | 2 hours ago | 4.14 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!