Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Jul 11th, 2018
92
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.20 KB
| None
|
0
0
raw
download
clone
embed
print
report
def test
response(gets.chomp)
end
def response(input)
case input.to_i
when 0
puts "case 0"
when 1
puts "case 1"
else
puts "skipping"
end
end
>> test
0
case 0
=>nil
Add Comment
Please,
Sign In
to add comment
Public Pastes
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 20 min ago | 0.39 KB
Mjolnir
YAML | 34 min ago | 1.78 KB
Untitled
YAML | 39 min ago | 160.12 KB
# tk_Gradient_Life.py
Python | 58 min ago | 1.39 KB
Mark of the Beast
YAML | 1 hour ago | 1.19 KB
C++ string split
C++ | 1 hour ago | 2.11 KB
Stay protected, Join the tour today!
JavaScript | 2 hours ago | 0.13 KB
snowybot completed robo manual 10fold upda...
JavaScript | 2 hours ago | 1.87 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!