Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Jul 16th, 2018
66
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.15 KB
| None
|
0
0
raw
download
clone
embed
print
report
class Person
attr_accessor :name
def initialize(name)
@name = name
end
end
p = Person.new('L. Ron')
puts p.name
p.name = ('Emma')
puts p.name
Add Comment
Please,
Sign In
to add comment
Public Pastes
cc-ftp
Lua | 1 min ago | 4.34 KB
cc-ftp
Lua | 7 min ago | 4.30 KB
cc-ftp
Lua | 8 min ago | 4.30 KB
Untitled
FreeBasic | 9 min ago | 3.61 KB
cc-ftp
Lua | 29 min ago | 4.21 KB
ftp-lua
Lua | 31 min ago | 4.12 KB
News April24 24
Email | 44 min ago | 23.78 KB
2024-04-24_stats.json
JSON | 46 min ago | 4.21 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!