Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Oct 20th, 2018
84
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 Rectangle
def initialize(length, width)
@length = length
@width = width
end
def perimeter
(@length + @width) * 2
end
def area
@length * @width
end
end
Add Comment
Please,
Sign In
to add comment
Public Pastes
http://localhost:8080/furnitures/wooden-chair...
JSON | 8 min ago | 1.40 KB
LOGO
Python | 34 min ago | 3.47 KB
WAVESHARE esp32-S3 Relay 6Ch-TEST RELAY
Arduino | 42 min ago | 0.93 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 49 min ago | 0.39 KB
trello importer
JavaScript | 1 hour ago | 1.95 KB
LibNebulaNodesBPLibrary.h
C++ | 2 hours ago | 1.90 KB
Untitled
Python | 2 hours ago | 2.57 KB
MainScript 4
CSS | 2 hours ago | 1.73 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!