Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
May 25th, 2018
93
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.17 KB
| None
|
0
0
raw
download
clone
embed
print
report
irb(main):005:0> params = {:chosen_month => 8}
=> {:chosen_month=>8}
irb(main):006:0> @newdate = Date.new(2008, params[:chosen_month].to_i, 15)
=> #<Date: 4909387/2,0,2299161>
Add Comment
Please,
Sign In
to add comment
Public Pastes
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 5 min ago | 0.39 KB
multi_queue
Python | 14 min ago | 0.54 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🎁
GetText | 20 min ago | 0.38 KB
llama 3 70B sample
Swift | 40 min ago | 6.14 KB
Untitled
C++ | 45 min ago | 3.71 KB
concatenate ranges
C++ | 51 min ago | 1.80 KB
EasyButton Library rev_01
Arduino | 1 hour ago | 1.85 KB
Untitled
C | 1 hour ago | 1.27 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!