Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
May 26th, 2018
78
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
class Calc
def initialize
@value = 0
end
def add(value)
@value += value
end
def sub(value)
@value -= value
end
def div(value)
@value /= value
end
attr_reader :value
end
Add Comment
Please,
Sign In
to add comment
Public Pastes
разбивка
C# | 27 min ago | 7.69 KB
Read Len
Python | 32 min ago | 0.10 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🎁
GetText | 35 min ago | 0.38 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 38 min ago | 0.39 KB
Untitled
PHP | 48 min ago | 2.01 KB
SLOJNITE ZADACHI
C | 53 min ago | 2.34 KB
mp4 в mp3.py
Python | 1 hour ago | 6.16 KB
Untitled
MySQL | 1 hour ago | 3.97 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!