Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Jul 19th, 2018
1,399
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.19 KB
| None
|
0
0
raw
download
clone
embed
print
report
class Date
[:beginning_of_fortnight, :end_of_fortnight, :next_fortnight].each do |method|
define_method(method) do |*args|
self.to_time.send(method,*args).to_date
end
end
end
Add Comment
Please,
Sign In
to add comment
Public Pastes
Pobieranie YT
PowerShell | 7 min ago | 0.49 KB
Character Name Generator (ChatGPT)
C# | 36 min ago | 6.15 KB
about
Lua | 36 min ago | 1.44 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🎁
GetText | 38 min ago | 0.38 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 45 min ago | 0.39 KB
linq
Lua | 52 min ago | 0.20 KB
sha256
Python | 1 hour ago | 5.71 KB
Buble 3
C | 1 hour ago | 2.17 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!